LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-18-2002, 04:39 AM   #1
GeeTee
LQ Newbie
 
Registered: Apr 2002
Distribution: Attempt @ RH7.2
Posts: 17

Rep: Reputation: 0
Question What happens If I delete mount points?


Hi all,
This may be a silly question but here goes...

Running RH7.2 I have mounted 2 Windoze partitions with entries in fstab - which works fine. They are mounted at
/mnt/win98 and /mnt/win2000

Am I correct in assuming that if I decide to delete either of these mount points whilst the partitions are mounted that my Windoze partitions would be unaffected (as opposed to being deleted etc).

Or how about if I were to delete /dev/hda1 for example - I presume I just lose my ability to access that particular partition until I reconstruct /dev/hda1 (not sure how I would?!).

Not that I intend to try this - just curious as to possible effects.

Regards
GeeTee
 
Old 04-18-2002, 04:44 AM   #2
javax
Member
 
Registered: Apr 2002
Distribution: Red Hat, Cygwin
Posts: 33

Rep: Reputation: 15
Your assumptions are correct, deleting the mount points from the fstab won't do anything to your windows partion. Just the ability to access them through Linux will be lost. But to get them back just redo the mount and all well
 
Old 04-18-2002, 05:19 AM   #3
GeeTee
LQ Newbie
 
Registered: Apr 2002
Distribution: Attempt @ RH7.2
Posts: 17

Original Poster
Rep: Reputation: 0
Hi,

I actually meant deleting the /mnt/win98 directory rather than the entry in fstab.
I think it has the same ramifications (ie not much) but I'd like to be sure.

On a similar thread, here's the relevant bit of my /etc/fstab

/dev/hda1 /mnt/win98 vfat defaults 1 0
/dev/hda5 /mnt/win2000 vfat defaults 1 0

What are the 'defaults' options 1 0 and why are other entries defaulted to 1 1 ?

Just curious...

Regards
GeeTee
 
Old 04-18-2002, 06:20 AM   #4
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
You cant delete a mount point when something is mounted on it you will get /xxxx busy.
With no mount point you cant mount. I mount most things
directly rather than use fstab ie
mount -t reiserfs /dev/hda4 /music
All mounts in a script run at boot time togeter with other stuff
works for me.
 
Old 04-18-2002, 06:27 AM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
The 1
This field is used by the dump utility to determine which filesystems should be backed up when dump is invoked. A 0 tells dump that the filesystem does not need to be dumped. A 1 indicates that it should. If you don't use dump, it doesn't matter what you set the field to.

The 0
Check Sequence Number Used by fsck to determine the order in which to conduct file system integrity checks during reboot. This field may use a 0, 1, or 2. 0 indicates that no-check is needed (used for cdrom, proc, swap, windows drives). 1 indicates that the filesystem should be checked first (used for the root partition.) 2 should be used for any other filesystems that could become corrupt. These will be checked after the / filesystem

http://www.frankenlinux.com/intro/fstab.html
 
  


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
need help with mount points! rmanocha Linux - Hardware 2 10-26-2003 03:23 PM
help with mount points rmanocha Linux - Software 12 10-26-2003 01:32 PM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM
Mount Points? Mr_Floppy4 Linux - General 2 10-14-2002 10:03 PM
mount points... Jeffrey Linux - General 6 02-24-2001 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 AM.

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
Open Source Consulting | Domain Registration