LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-29-2004, 09:29 AM   #1
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Rep: Reputation: 15
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
 
Old 09-29-2004, 06:28 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.....
 
Old 09-30-2004, 12:49 AM   #3
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks.

Reading ntfs isn't safe enough?
 
Old 09-30-2004, 04:30 AM   #4
nedwardss
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Testing/Unstable
Posts: 12

Rep: Reputation: 0
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".
 
Old 09-30-2004, 06:50 AM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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).
 
Old 09-30-2004, 08:34 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
always fun to assume the worst and go all paranoid.... also a good reason to reformat those drives as fat32 or even better ext3 ;-)
 
Old 09-30-2004, 08:47 AM   #7
Underhill
Member
 
Registered: Aug 2004
Location: Kuala Lumpur, Malaysia
Distribution: Debian Etch
Posts: 58

Original Poster
Rep: Reputation: 15
Aight, thanks Dead Parrot and acid_kewpie
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
repquota (and edquota) report incorrect "used" blocks/inodes.. marcolof Linux - General 0 02-18-2005 10:26 AM
Get "530 Login incorrect." trying to FTP to Slackware 9.1 box. RichDawg Linux - Networking 1 07-22-2004 08:45 PM
Getting "530 Login incorrect" trying to ftp to slackware 9.1 box. RichDawg Linux - Newbie 0 07-22-2004 03:05 PM
Incorrect IRQ/IO addr. with Zipslack's "tulip" ethernet driver jeffg84 Linux - Networking 0 04-08-2003 01:46 PM
Red Hat 7.3 Installation-"incorrect CDROM" shootdawe Linux - Distributions 4 09-17-2002 09:49 AM


All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration