Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know with adding a new HD, you just make an entry in /etc/fstab. But the thing that gets me is the LABEL=/ and LABEL=/var which are treated differently. Now I want the new drive to be LABEL=/home. What's the best way to go about it?
Also would there be any problem with having the file sytems as FAT32?
but if you want to mount it on /home ( above is mounted on /win-c ) , it s not wise to use vfat because the permissions
are not anymore per file but per disk. ( thats the ' users,...' etc for )
for linux partitions better use a linux file system. furthermore you have to backup the contents of your old /home before adding the new disk . but why use vfat ??
I know that ext2/3 is better, but I'm runnign a dual boot system, RH9/Win98, and would liek to be able to access all the parts. I've already added to fstab for the vfat drives, and was thinking that it would be easier for the users if they had access as home.
Maybe a better way is to keep the linux home directory and mount your windows partition elsewhere (eg /windows) Then you could create symbolic links to each users windows home directory so that within their home folder there is a mydocs directory which is a symbolic link to /windows/user/mydocs etc.
btw unmask=022 sets the default permissions of the files to 755 i.e rwxr-xr-x
Thanks for that. I have had a few problems with symbolic links, and the permissions of the users.
Also how will I change the group for my windows mount? I assume I'd use chown. It just each time I've done it, the permissions change back to root. Is there anything else I need to do?
With the symbollic links, there is a problem with moving files within the VFAT section of the drive. Now when I use a mount on the desktop (KDE icon) there is no problem, in that I can move & delete files as I choose. But when I do the same via a s-link I have problems with permissions.
maybe...you should use ' umask=000 ' ,then anyone has write-permission , and can move & del. ( i think ??)
try it , thats what the thing is for........:.-)
So unmask=011 would be -rwxrw-rw- for the windows drive..?
Spot on, but you will need unmask=000 as without it you will not be able to look into the directories, as directories need the "x" permission to cd into them.
Originally posted by tim1235 Spot on, but you will need unmask=000 as without it you will not be able to look into the directories, as directories need the "x" permission to cd into them.
Thanks.
I didn't know that about the "x" permission for directories.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.