脚热是什么原因引起的| 安眠穴在什么位置| 鱼油什么牌子好| 砼为什么念hun| 末那识是什么意思| 吃哈密瓜有什么好处| videos是什么意思| 马齿苋不能和什么一起吃| 承认是什么意思| 三个六代表什么意思| 肠炎不能吃什么东西| 为什么会得高血压| 泓五行属什么| 水瓶座和什么座最配| 手抖是什么原因导致的| 免疫比浊法是什么意思| 高铁列车长是什么级别| 生理期不能吃什么| 手淫有什么坏处| 什么是肺磨玻璃结节| 安全期是什么时候| 血凝是什么意思| 乞丐是什么生肖| 七手八脚是什么意思| m是什么| 二甲双胍缓释片什么时候吃| 千钧一发是什么生肖| 蚕长什么样| 离岸人民币什么意思| mommy什么意思| hbsag阳性什么意思| 此起彼伏是什么意思| 市长属于什么级别| 日行一善是什么意思| 阴蒂痛是什么原因| 肿瘤最怕什么| 矢气是什么意思| 什么是义齿| 双瞳电影到底讲了什么| ped是什么意思| 这什么| 小寨附近有什么好玩的| 西瓜有什么功效| 成人达己是什么意思| 为什么榴莲那么贵| imp什么意思| 毛肚是什么动物身上的| 手红是什么原因| 黄墙绿地的作用是什么| 复刻鞋是什么意思| 世界上最长的单词是什么| 口腔溃疡缺什么| 代字五行属什么| 7月18日是什么日子| 凯字五行属什么| 626什么星座| 剩女什么意思| 为什么减肥一直减不下来| 坐怀不乱是什么意思| 吃什么降尿酸最有效| 地钱是什么植物| 心脏大是什么病严重吗| 忍辱负重是什么意思| 师奶是什么意思| 双子座前面是什么星座| 透亮是什么意思| 水生什么五行| 什么是阳虚| 木是什么意思| 如火如荼是什么意思| 芒果有什么功效| 自述是什么意思| 缺钾什么症状| 乙型肝炎病毒表面抗体阳性是什么意思| 比心是什么意思| 一月出生是什么星座| 春天能干什么| 经常做梦是什么原因| oppo是什么牌子| 市组织部长是什么级别| 宝宝dha什么时候吃最好| 囊肿长什么样子图片| 汗疱疹用什么药好| 终极是什么| 小腿冰凉是什么原因| 梦见小男孩是什么预兆| 伤口感染吃什么消炎药| 双肺斑索是什么意思| 梦见绿豆是什么意思| 孕酮低是什么原因造成的| 声音嘶哑是什么原因| 落枕是什么原因| 低头族是什么意思| 肝火旺吃什么降火最快| 什么人容易得肺结核| 什么的青草| 3月25是什么星座| slf是什么意思| 阴道痒用什么药| 人有三急指的是什么| 打鼾挂什么科| 生日礼物送什么好| 茗茶是什么茶| 蓝得什么| 鼻子两侧挤出来的白色东西是什么| dw是什么意思| 帕金森吃什么药最好| 20分贝相当于什么声音| 胸腔积液是什么意思| 条件反射是什么| 头顶秃了一小块是什么原因怎么办| 知柏地黄丸主治什么| 血糖偏高可以吃什么水果| 素肉是什么| 书中自有颜如玉什么意思| 粘纤是什么| 女人眉尾有痣代表什么| 午时银花露有什么功效| 柠檬水喝多了有什么坏处| 康膜的功效是什么| 犯困是什么原因引起的| 男士私处瘙痒用什么药| 型式检验是什么意思| 科目三考什么内容| 不除外是什么意思| 迪丽热巴的全名叫什么| 风寒感冒和风热感冒有什么区别| 堃字的寓意是什么意思| 做肉丸用什么淀粉最佳| 丹毒用什么抗生素| 翔是什么意思| 猪肝能钓什么鱼| 怀孕子宫前位和后位有什么区别| 儿郎是什么意思| 面基什么意思| 什么时候上环是最佳时期| 静脉曲张什么症状| 什么情况会导致月经推迟不来| 跳舞有什么好处| 气血亏吃什么补的快| 宫腔镜检查后需要注意什么| 筋皮是什么肉| 婴儿大便隐血阳性是什么意思| 7月10号是什么星座| 相对是什么意思| 腱鞘炎要挂什么科| 授记是什么意思| 决堤是什么意思| 脾胃气虚吃什么中成药| 常染色体是什么| 白舌苔很厚是什么病症| 咽喉发炎吃什么药| 狐仙一般找什么人上身| 小孩有口臭是什么原因引起的| 注意身体是什么意思| 1946属什么生肖| ce是什么元素| 后脑勺发麻是什么原因| 左手食指有痣代表什么| 恐龙是什么时候灭绝| 竖中指是什么意思| 盆腔炎吃什么消炎药效果好| 尿蛋白是什么病| 芈月和秦始皇是什么关系| 漂亮的什么| 男人艾灸什么地方壮阳| 亦或是什么意思| 云南白药草长什么样| 什么是蛇缠腰病| 破釜沉舟是什么生肖| 龙眼什么时候上市| 鸭肉不能和什么一起吃| 脾胃虚吃什么好| 路过是什么意思| 开户名是什么| 牙齿有裂纹是什么原因| 菲妮迪女装是什么档次| 多吃木瓜有什么好处| 小妮子什么意思| 治疗褥疮用什么药| 送什么小礼品好| peppa是什么意思| 一龙一什么填十二生肖| 17年属什么| 紫绀是什么症状| 女性尿路感染吃什么药效果好| 表姐的儿子叫什么| 三体讲的是什么| 月什么人什么| 青霉素过敏吃什么消炎药| 打呼噜的原因是什么| 阴虚火旺吃什么中成药好| 什么是低钾血症| 梦见女儿结婚是什么意思| 唐卡是什么材料做的| 什么水果对嗓子好| 9月12日是什么星座| 金骏眉是什么茶类| 属羊的和什么属相不合| 备孕需要做什么| 青年节是什么生肖| 什么是熊猫血型| 偏头痛什么原因引起的| 直肠肿物是什么意思| 齁不住是什么意思| 较前相仿是什么意思| 狍子是什么动物| 71年什么时候退休| 栀子花黄叶是什么原因| 烤麸是什么| 为什么会勃起| 咨询是什么意思| 木耳吃多了有什么坏处| vad是什么意思| 金为什么克木| 214是什么意思| 2002是什么年| 梦到门坏了是什么意思| 市长什么级别| 大便粘稠吃什么药| 六月十一是什么日子| 女人阳虚吃什么药效果最好| 3月14日是什么日子| 孕妇能吃什么水果最好| 什么是特异性皮炎| 蓬灰是什么东西| 鲁冰花是什么花| 甲状腺欠均匀什么意思| 腰痛吃什么好| 精子什么味道| 95年是什么年| 孤独症是什么| 女性尿道炎挂什么科| 囫囵吞枣是什么意思| 伤口感染化脓用什么药| 飘雪是什么茶| 什么干什么燥| 为什么子宫会下垂| 什么叫尿毒症| 玉米什么时候播种| 小孩为什么吃果糖二磷酸钠| 天葵是什么| 人生百味下一句是什么| 右眼皮跳是什么预兆女| 头孢和阿莫西林有什么区别| 加拿大现在什么季节| 头晕冒汗是什么原因| 1月27日什么星座| dha是什么| 蹦蹦跳跳的动物是什么生肖| 盗墓笔记讲的是什么故事| 黑乌龙茶属于什么茶| 汗疱疹涂什么药| 什么油适合炒菜| 孕晚期脚肿是什么原因| 糖抗原125高什么意思| 耳朵痛用什么药| 闪光点是什么意思| 扁平足是什么| 降钙素原检测是查什么的| 为什么水不会燃烧| gmp什么意思| 手柄是什么意思| 坐位体前屈是什么| 百度Jump to content

win10系统怎么破解电信光猫 破解电信光猫图文教程

From Wikipedia, the free encyclopedia
UFS
Developer(s)CSRG
Full nameUNIX file system
Introducedwith 4.2BSD
Structures
Directory contentstables
Limits
Max volume size273 bytes (8 ZiB)
Max file size273 bytes (8 ZiB)
Max filename length255 bytes
Features
Dates recordedUFS1 and UFS2: last access time (atime), last modified time (mtime), last inode change time (ctime), UFS2: inode creation time (birthtime)[1]
Date rangeUFS1: December 14, 1901–January 18, 2038, UFS2: 64-bit signed integer offset from epoch[1]
Date resolutionUFS1 and UFS2: Nanosecond[1]
Other
Supported
operating systems
A/UX, DragonFly BSD, FreeBSD, FreeNAS, NAS4Free, HP-UX, NetBSD, NeXTSTEP, Linux, OpenBSD, illumos, Solaris, SunOS, Tru64 UNIX, UNIX System V, Orbis OS, and others
百度 光伏企业开始加快布局2017年3月,工信部官网发布的2016年我国光伏产业运行情况提到,2016年我国光伏产业延续回暖态势,产业总产值达到3360亿元,同比增长27%,整体运行状况良好。

The Unix file system (UFS) is a family of file systems supported by many Unix and Unix-like operating systems. It is a distant descendant of the original filesystem used by Version 7 Unix.

Design

[edit]

A UFS volume is composed of the following parts:

  • A few blocks at the beginning of the partition reserved for boot blocks (which must be initialized separately from the filesystem)
  • A superblock, containing a magic number identifying this as a UFS filesystem, and some other vital numbers describing this filesystem's geometry and statistics and behavioral tuning parameters
  • A collection of cylinder groups. Each cylinder group has the following components:
    • A backup copy of the superblock
    • A cylinder group header, with statistics, free lists, etc., about this cylinder group, similar to those in the superblock
    • A number of inodes, each containing file attributes
    • A number of data blocks

Inodes are numbered sequentially, starting at 0. Inode 0 is reserved for unallocated directory entries, inode 1 was the inode of the bad block file in historical UNIX versions, followed by the inode for the root directory, which is always inode 2 and the inode for the lost+found directory which is inode 3.

Directory files contain only the list of filenames in the directory and the inode associated with each file. All file metadata is kept in the inode.

History and evolution

[edit]

Early Unix filesystems were referred to simply as FS. FS only included the boot block, superblock, a clump of inodes, and the data blocks. This worked well for the small disks early Unixes were designed for, but as technology advanced and disks grew larger, moving the head back and forth between the clump of inodes and the data blocks they referred to caused thrashing. Marshall Kirk McKusick, then a Berkeley graduate student, optimized the V7 FS layout to create BSD 4.2's FFS (Fast File System) by inventing cylinder groups, which break the disk up into smaller chunks, with each group having its own inodes and data blocks.[2][3]

The intent of BSD FFS is to try to localize associated data blocks and metadata in the same cylinder group and, ideally, all of the contents of a directory (both data and metadata for all the files) in the same or nearby cylinder group, thus reducing fragmentation caused by scattering a directory's contents over a whole disk.

Some of the performance parameters in the superblock included number of tracks and sectors, disk rotation speed, head speed, and alignment of the sectors between tracks. In a fully optimized system, the head could be moved between close tracks to read scattered sectors from alternating tracks while waiting for the platter to spin around.

As disks grew larger and larger, sector-level optimization became obsolete (especially with disks that used linear sector numbering and variable sectors per track). With larger disks and larger files, fragmented reads became more of a problem. To combat this, BSD originally increased the filesystem block size from one sector to 1 K in 4.0 BSD; and, in FFS, increased the filesystem block size from 1 K to 8 K. This has several effects. The chance of a file's sectors being contiguous is much greater. The amount of overhead to list the file's blocks is reduced, while the number of bytes representable by any given number of blocks is increased.

Larger disk sizes are also possible, since the maximum number of blocks is limited by a fixed bit-width block number. However, with larger block sizes, disks with many small files will waste space, since each file must occupy at least one block. Because of this, BSD added block-level fragmentation, also called block suballocation, tail merging, or tail packing, where the last partial block of data from several files may be stored in a single "fragment" block instead of multiple mostly empty blocks.[4]

The work on Berkeley FFS was widely adopted by other Unix vendors, and the family of filesystems derived from it are collectively known as UFS.

Implementations

[edit]

Vendors of some proprietary Unix systems, such as SunOS / Solaris, System V Release 4, HP-UX, and Tru64 UNIX, and open Unix derived systems like illumos, have adopted UFS. Most of them adapted UFS to their own uses, adding proprietary extensions that may not be recognized by other vendors' versions of Unix. Many[which?] have continued to use the original block size and data field widths as the original UFS, so some degree of read compatibility remains across platforms.[which?][citation needed][according to whom?] Compatibility between implementations as a whole is spotty at best.[according to whom?]

As of Solaris 7, Sun Microsystems included UFS Logging, which brought filesystem journaling to UFS, which is still available in current versions of Solaris and illumos.[5] Solaris UFS also has extensions for large files and large disks and other features.

In 4.4BSD and BSD Unix systems derived from it, such as FreeBSD, NetBSD, OpenBSD, and DragonFly BSD, the implementation of UFS1 and UFS2 is split into two layers: an upper layer that provides the directory structure and supports metadata (permissions, ownership, etc.) in the inode structure, and lower layers that provide data containers implemented as inodes. This was done to support both the traditional FFS and the LFS log-structured file system with shared code for common functions. The upper layer is called "UFS", and the lower layers are called "FFS" and "LFS". In some of those systems, the term "FFS" is used for the combination of the FFS lower layer and the UFS upper layer, and the term "LFS" is used for the combination of the LFS lower layer and the UFS upper layer.

Kirk McKusick implemented block reallocation, a technique that reorders the blocks in the file system just before the writes are done to reduce fragmentation and control file system aging. He also implemented soft updates, a mechanism that maintains the file system consistency without limiting the performance in the way the traditional sync mode did. This has the side effect of reducing the requirement of file system checking after a crash or power failure. To overcome the remaining issues after a failure, a background fsck utility was introduced.

In UFS2, Kirk McKusick and Poul-Henning Kamp extended the FreeBSD FFS and UFS layers to add 64-bit block pointers (allowing volumes to grow up to 8 zebibytes), variable-sized blocks (similar to extents), extended flag fields, additional 'birthtime' stamps, extended attribute support and POSIX1.e ACLs. UFS2 became the supported UFS version starting with FreeBSD 5.0. FreeBSD also introduced soft updates and the ability to make file system snapshots for both UFS1 and UFS2. These have since been ported to NetBSD, but eventually soft updates (called soft dependencies in NetBSD) was removed from NetBSD 6.0 in favor of the less complex file system journaling mechanism called WAPBL (also referred as logging), which was added to FFS in NetBSD 5.0. OpenBSD supported soft updates from version 2.9[6] until support was dropped in version 7.4,[7] and it has had UFS2 (FFS2) support (no ACLs) since version 4.2.[8] OpenBSD has now made UFS2 the default UFS version and will be included with the 6.7 release.[9] Since FreeBSD 7.0, UFS also supports filesystem journaling using the gjournal GEOM provider. FreeBSD 9.0 adds support for lightweight journaling on top of soft updates (SU+J), which greatly reduces the need for background fsck, and NFSv4 ACLs.

FreeBSD, NetBSD, OpenBSD, and DragonFly BSD also include the Dirhash system, developed by Ian Dowse. This system maintains an in-memory hash table to speed up directory lookups. Dirhash alleviates a number of performance problems associated with large directories in UFS.

Linux includes a UFS implementation for binary compatibility at the read level with other Unixes, but since there is no standard implementation for the vendor extensions to UFS, Linux does not have full support for writing to UFS. The native Linux ext2 filesystem was inspired by UFS1 but does not support fragments and there are no plans to implement soft updates.[citation needed] (In some 4.4BSD-derived systems, the UFS layer can use an ext2 layer as a container layer, just as it can use FFS and LFS.)

NeXTStep, which was BSD-derived, also used a version of UFS. In Apple's Mac OS X, it was available as an alternative to HFS+, their proprietary filesystem. However, as of Mac OS X Leopard, it was no longer possible to install Mac OS X on a UFS-formatted volume. In addition, one cannot upgrade older versions of Mac OS X installed on UFS-formatted volumes to Leopard; upgrading requires reformatting the startup volume.[10] There was a 4 GB file limit for disks formatted as UFS in Mac OS X. As of Mac OS X Lion, UFS support was completely dropped.[11]

See also

[edit]

References

[edit]

Citations

[edit]
  1. ^ a b c "[base] Contents of /Head/Sys/Ufs/Ufs/Dinode.h".
  2. ^ "Open Sources: Voices from the Open Source Revolution". 29 March 1999.
  3. ^ McKusick, K M; Joy, W; Leffler, S; Fabry, R (August 1984). "A Fast File System for UNIX" (PDF). ACM Transactions on Computer Systems. 2 (3): 181–197. doi:10.1145/989.990. S2CID 222285164. Retrieved 2025-08-06.
  4. ^ Allen, Hervey (2025-08-06). "UFS2 and Soft Updates make for a powerful combination" (PDF). Introduction to FreeBSD, PacNOG I Workshop, Additional Topics. Network Startup Resource Center. p. 23. Retrieved 2025-08-06.
  5. ^ "UFS Logging". Oracle Documentation. Retrieved 2025-08-06.
  6. ^ "OpenBSD 2.9 Release". OpenBSD. 2025-08-06. Retrieved 2025-08-06.
  7. ^ "Soft updates disabled for future VFS work". OpenBSD_Journal. 2025-08-06. Retrieved 2025-08-06.
  8. ^ "OpenBSD 4.2 Release". OpenBSD. 2025-08-06. Retrieved 2025-08-06.
  9. ^ "Make FFS2 the default filesystem". OpenBSD. 2025-08-06. Retrieved 2025-08-06.
  10. ^ "Archived — Mac OS X 10.5 Leopard: Installing on a UFS-formatted volume". Apple, Inc. 2025-08-06. Retrieved 2025-08-06.
  11. ^ "Lion won't mount any disk images with the built-in utility or Disk Utility". Apple Support Communities. Apple, Inc. 2025-08-06. Retrieved 2025-08-06.

Bibliography

[edit]
[edit]
震动棒是什么 成什么上什么 口腔检查挂什么科 vca是什么意思 犯贱是什么意思
心电图t波改变什么意思 孕妇钙片什么时间段吃最好 万宝龙皮带算什么档次 胃反酸是什么原因造成的 胎盘成熟度2级是什么意思
女性更年期潮热出汗吃什么药 尿路感染是什么原因造成的 na什么意思 闹觉是什么意思 中医四诊是什么
生粉和淀粉有什么区别 孕妇现在吃什么水果好 水痘疫苗叫什么 空调风扇不转是什么原因 劼字取名的寓意是什么
囊肿是什么hcv9jop6ns7r.cn 脾肺气虚吃什么中成药hcv9jop1ns4r.cn 梦到被蜜蜂蛰是什么意思hcv8jop2ns8r.cn 角膜炎用什么眼药水hcv9jop7ns0r.cn 看身高挂什么科hcv8jop7ns2r.cn
cba什么时候开始比赛hcv9jop3ns7r.cn 什么水果不能放冰箱hcv8jop8ns2r.cn 被蜜蜂蛰了用什么药hcv9jop2ns4r.cn 小儿疳积是什么意思hcv9jop2ns3r.cn 胃不好能吃什么水果yanzhenzixun.com
什么风什么月hcv7jop4ns6r.cn 拜阿司匹林和阿司匹林有什么区别hcv7jop7ns0r.cn 妹妹是什么意思hcv8jop5ns8r.cn 前列腺是什么原因引起的hcv8jop5ns9r.cn 咳嗽吐白痰吃什么药hcv8jop2ns2r.cn
甲亢不能吃什么食物hcv8jop0ns1r.cn 什么是备皮tiangongnft.com 作是什么意思hcv8jop0ns4r.cn 石龙子吃什么hcv8jop8ns9r.cn 为什么要多吃鱼hcv8jop2ns6r.cn
百度