Re: Home and partition



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

R.F. Pels wrote:
> dario wrote:
>
>> Can I set the home folder on the FAT32 partition? If yes, so how to do it?
>
> Yes you can and no you should not. FAT32 partitions do not meet the
> necessary requirements for case-sensitivity and security to act as a proper
> home partition.

FWIW, it /is/ possible to have a directory on a FATxx filesystem that
supports all the standard Unix filesystem requirements (case
sensitivity, permission bits, etc.).

However, the technique that makes this possible also causes the contents
of the directory to be unaccessable from any MSWindows environment that
also uses the FATxx filesystem.

What you do is make a rather large, empty file on your FATxx filesystem
using the Linux dd(1) command. Make the file large enough to satisfy all
your space requirements for all files that you intend to be in the
target directory.

Now, use the mkfs(8) command to format the contents of the file as a
Linux/Unix filesystem. ext2 would be fine.

Finally, mount(8) this file /as a filesystem/ using the -o loop -t ext2
options
(i.e. mount -t ext2 -o loop /mnt/Windows/C:/my-FAT32-file /home/me )
This gives you an ext2 filesystem /in/ a FAT32 file. The contents of the
FAT32 file will be a full filesystem tree (directory and files) that
support the Linux filesystem model of permission bits and case sensitive
names.

HTH
- --

Lew Pitcher, IT Specialist, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFD2hnoagVFX4UWr64RAh4PAJ0Wo7lxYpA/FP6wyCWPudgI9yy66QCghTap
qwLdHvEaXr9wxpIEL7xSbZ4=
=Y7kP
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: partitioning
    ... you'd want a FAT32 partition to share files between them. ... pinfo mkfs ... You generally only need to low-level format floppies ... and then you put a filesystem on it while ...
    (alt.os.linux.suse)
  • Re: xPC startup error
    ... The error message means that you don't have a FAT32 partition ... If you have a second drive with a FAT32 partition, ... is checked or the filesystem won't look at the second drive. ... I am trying to use xPC target Scope of type file, ...
    (comp.soft-sys.matlab)
  • Re: heres my noob install questions, smart people please help
    ... > the same as Unix, and it's not a very good filesystem anyway. ... work with the data files residing on a FAT32 partition. ... suggested you'd be better off mounting the FAT32 partition elsewhere. ...
    (Debian-User)
  • Re: found this weird thing with the pictures i took off my camera
    ... Your camera stores pictures on an MSDOS FATxx filesystem. ... The Linux virtual filesystem translates unix filesystem accesses into ... Since Unix filesystems have permission bits and FATxx does not, ...
    (alt.os.linux.suse)
  • Re: Disk quotas
    ... As you've read, the quotas are based on filesystem, ... quotas on the root volume as it adds overhead to the filesystem. ... disk image for the user and used Netinfo Manager to make the image the ... is notified when the home folder is full. ...
    (comp.sys.mac.system)