Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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 finally just decided instead of dealing with NTFS or ext3 as a documents hard drive just to settle for FAT32. Since I couldn't format a 250gig drive and have it work in Windows, I split it into two 125s.
Anyway, I did fstab and everything (can someone tell me what the commands unmask=???? ? ? does?), but there is a slight annoyance. I named the drives Caviar A and Caviar B in Windows (how do you do this in Linux? because for some reason, linux is making these all caps, but my 32gig raptor is in proper caps!?). It mounts the second partition first, and then the first partition, so in 'Computer' I have...
125G Hard Drive: CAVIAR B
and
125G Hard Drive (2): CAVIAR A
I'd much rather the first one be A, and the second B, and also name it so that they aren't all caps. 'Raptor' is proper caps though, and I did it the exact same way. If possible, I'd like to remove the (2) also. I know all of this is cosmetic but its really weird because it's hard enough having some things on one drive and some things on another, but having them in differing orders is kind of crazy.
Can you post your fstab so we can give you real world examples?
A generic idea:
/dev/hda1 is Caviar A in Windows. In Linux, it set it up arbitrarily to /dev/hdb1 as Caviar A. You want /dev/hda1 as Caviar A and need to tell fstab so. Your current entry would look something like:
/dev/hdb1 "/mnt/Caviar A" vfat option1,option2,and,so,on 1 1
And you would modify it (not just the order):
/dev/hda1 "/mnt/caviar A" vfat option1,option2,and,so,on 1 1
Note the /dev difference.
As for what umask does:
One way to grant permissions on any given file or directory is to run the command chmod. Umask is the 'equivilent' (not really, but for simplicity we'll take that) of chmod, but using the opposite numbers. So, a chmod of 777 will grant the earth permission on that file, while a umask of 000 will do the same thing.
Not exactly a complete definition of umask, but a usable one For more info you can always check out the docs on chmod and mount.
I'm saying that the fstab appears correct, and it does mount them to the right folders, but in 'Computer' it has them in the opposite order than I would like. They are labelled correctly, but they consider A to be the 'second' one.
It also seems like I'm sometimes having problems with the drive under Linux. For instance, I try to rename a file by right click renaming, and it blinks for a second like you can type in it, then it goes back to as if I had never even tried to rename it. This only happens in 'list' view.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.