Re: [gentoo-user] Mounting a big drive for stuff - /mnt or /media

2009-08-06 Thread pk
Stroller wrote:

 The only thing that springs to mind is that /mnt was originally used by
 system administrators to temporarily mount removable media. I think the
 FHS comes into it. But right now this isn't terribly convincing,
 particularly as I currently expect to be using one BIG volume, so there
 should be no need for more than drive mounted in this way.

Mostly it's a matter of taste, as I see it. Acc. to FHS /mnt is for
temporarily mounted filesystems while /media is for removable media. But
since it's your system you can call it whatever you like. Of course if
you are using some kind of automounter you may need to follow what ever
restrictions it has...

http://www.pathname.com/fhs/pub/fhs-2.3.html

Best regards

Peter K



Re: [gentoo-user] Mounting a big drive for stuff - /mnt or /media

2009-08-06 Thread Dale
Stroller wrote:
 Hi there,

 I'm in the process of commissioning a box which has a large hard drive
 on which videos, mp3s  stuff will be stored.

 On all my other machines, such drives are mounted at /mnt/space (and a
 second drive at /mnt/morespace)

 I have a notion to move to a hierarchy under /media/ - something like
 /media/space or /media/videos or  /media/disk1,  /media/disk2,
 /media/disk3, ...

 I can't remember WHY I came iup with this idea, however.

 Googling, I can find more than one message to this list in which I
 assert this intention and state refer to a discussion on this list
 which led to it. However I can't find that previous discussion itself.
 http://www.linux-archive.org/gentoo-user/168375-mediatomb-media-server-users-permissions-media-videox.html

 http://www.nabble.com/Autofs-or-ivman--td14647701.html

 The only thing that springs to mind is that /mnt was originally used
 by system administrators to temporarily mount removable media. I think
 the FHS comes into it. But right now this isn't terribly convincing,
 particularly as I currently expect to be using one BIG volume, so
 there should be no need for more than drive mounted in this way.

 Can anyone persuade me or provide other reasons for using /media?

 Thanks in advance,

 Stroller.




You can create a mount point and mount the drive where ever you want.  I
created the mount point /data on my system and mounted a drive to it.  I
store my wallpapers, some rarely used documents, owners manuals and
things like that there.  Point is, Linux doesn't care where you put it,
just put it where you want it and can find it.

Dale

:-)  :-) 



Re: [gentoo-user] Mounting a big drive for stuff - /mnt or /media

2009-08-06 Thread Roy Wright


On Aug 6, 2009, at 4:49 AM, Dale wrote:


Stroller wrote:

Can anyone persuade me or provide other reasons for using /media?



I'm running 3 systems that have media drives for my home theater.   
What I did was to mount the local volume on /var/media.  Then used  
autofs to mount the nfs shared volumes under /media/auto.  Finally I  
symbolically linked each volume to /media.


Abridged example:

royw-gentoo:
/var/media  = mounted lvm volume
/media/auto/xbmc = nfs://xbmc.local/media
/media/royw-gento = /var/media
/media/xbmc = /media/auto/xbmc

xbmc:
/var/media  = mounted lvm volume
/media/auto/royw-gentoo = nfs://royw-gentoo.local/media
/media/xbmc = /var/media
/media/royw-gentoo = /media/auto/royw-gentoo

Now on either machine I can reference /media/xbmc or /media/royw-gentoo

Also each media volume uses the LinuxMCE directory scheme:
public
+ data
++ audio
++ documents
++ pictures
++ videos
local
user

Have fun,
Roy