LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Is there anything incorrect or "dangerous" in my fstab? (https://www.linuxquestions.org/questions/debian-26/is-there-anything-incorrect-or-dangerous-in-my-fstab-236620/)

Underhill 09-29-2004 08:29 AM

Is there anything incorrect or "dangerous" in my fstab?
 
Hi guys,

I just created my fstab. Is there anything "dangerous" or incorrect in it? I don't want anything to corrupt. Thanks

Code:

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
/dev/sda6      /              reiserfs notail          0      1
/dev/sda7      none            swap    sw              0      0
/dev/sda5        /media/Data        vfat        noauto,user,exec 0 0
/dev/sda1        /media/Backup        ntfs noauto,user,ro,umask=000 0 0
/dev/hda1        /media/Windows        ntfs noauto,user,ro,umask=000 0 0
/dev/hda5        /media/WindowsData        ntfs noauto,user,ro,umask=000 0 0
/dev/hdd        /media/Dvd  iso9660 ro,user,noauto  0      0
/dev/fd0        /media/Floppy  auto    rw,user,noauto  0      0


acid_kewpie 09-29-2004 05:28 PM

looks fine to me, other than the obvious sucide mision of using ntfs.

you also appear to have just one single linux partition./.. each to their own i guess.....

Underhill 09-29-2004 11:49 PM

Thanks.

Reading ntfs isn't safe enough?

nedwardss 09-30-2004 03:30 AM

yeah, what's the problem with accessing an ntfs partition as read only? this is the first i've heard that it was a "suicide mission".

Dead Parrot 09-30-2004 05:50 AM

Quote:

Reading ntfs isn't safe enough?
Don't worry, it's quite safe. Here's my fstab line for ntfs partition:

/dev/hda2 /mnt/win ntfs user,noauto,umask=0277,uid=1000,gid=1000 0 0

This mounts ntfs making me the owner of all files. I get read and execute permissions but other users don't get any permissions at all.

You can check your uid and gid with the "id your_username" command (just replace your_username with your actual username).

acid_kewpie 09-30-2004 07:34 AM

always fun to assume the worst and go all paranoid.... also a good reason to reformat those drives as fat32 or even better ext3 ;-)

Underhill 09-30-2004 07:47 AM

Aight, thanks Dead Parrot and acid_kewpie


All times are GMT -5. The time now is 02:49 PM.