Re: does the linux support rootfs on vfat?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Gah... I meant this to be sent publically, not just privately ;-)

zhuzhenhua wrote:
> if in my product based ide disk, i want to it to support the
> u-disk(with vfat fs), and can i set the root fs as vfat too?
> if use vfat as rootfs, what's disadvantage of the selection?

In theory, you could... BUT... FAT32 (and every other FAT variant) lacks:

- Ownership metadata (uid/gid fields)
- Permissions (mode: read/write/execute/sticky/suid/sgid)
- Links (both hard-links and symbolic links)
... probably character devices, block devices, pipes and other numerous
devices that 99.999999% of distributions rely on.

Now, there is UMSDOS, which uses additional special files to emulate
these on top of a standard MS-DOS filesystem ... mind you, it predates
VFAT by many years, and so I'm not sure what it's support is like for
long filenames.  I also haven't seen it in the kernel File System menu
for some time now.

I'd recommend using an external initrd... or an initramfs-based kernel.
 That way it's just one or two files, not one or two hundred. ;-)
-- 
Stuart Longland (aka Redhatter)              .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter             :.'

International Asperger's Year (1906 ~ 2006)
http://dev.gentoo.org/~redhatter/iay

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux