Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-30-2005, 08:45 AM   #1
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
mount ?

can i mount my device on a mount directory only?

or can i mount it under any /etc or /var or /usr.

is it allowed?
Old 04-30-2005, 09:13 AM   #2
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

Rep: Reputation: 15
Mounting anywhere

Yes it is allowed .
Just do:
FILE_SYSTEM is file system you use on that media (vfat, ntfs, reiserfs, xfs, etc...)
DEVICE is a device you want to mount (like /dev/hda1 for first ide disk first partition)
MOUNTPOINT is a directory where you want to mount (like /var/backup)
Just make sure directory exists, before mounting.

Hope this helps !
Old 04-30-2005, 09:15 AM   #3
Registered: Jan 2005
Location: middle of a cornfield, IL
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145

Rep: Reputation: 15
You can mount a device anywhere it just doesn't work as well or isn't a standard procedure to mount them anywhere but under /mnt or a directory you create for mounting them.
Old 04-30-2005, 09:16 AM   #4
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
mounting under /etc or /var should not damage my sys.
Old 04-30-2005, 09:34 AM   #5
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Whatever you do, don't mess around with /bin, /etc, /lib and /sbin because they contain essential system packages and config files, so mounting stuff in there or tampering with them can be potentially disastrous. Also /bin, /etc, /lib, /sbin and /tmp should always be on the root (/) filesystem, anything else can be mounted anywhere but /mnt or /media are good places to create mount points.

Last edited by reddazz; 04-30-2005 at 09:35 AM.


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
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
can mount C not D FAT: invalid media value (0x45) mount: wrong fs type, bad option Emmanuel_uk Linux - Newbie 10 11-29-2005 02:47 AM
automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/ vasudevadas Slackware 5 10-17-2005 03:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:44 AM.

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