LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-21-2020, 07:11 PM   #16
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,480
Blog Entries: 14

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308

/mnt is provided as a temporary place for the system administrator to use whilst doing system maintenance and suchlike. You, as admin of your own system, are of course free to use it however you want, but it wasn't intended as a place for permanent mounts.

As a primarily command-line driven user, I dislike udisks2's /run/media/$LOGNAME/$UUID standard. Far too much typing, so I prefer to stick with the older /media location.
 
Old 05-21-2020, 08:13 PM   #17
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 2,768

Rep: Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878Reputation: 2878
I still force /etc/fstab to use /mnt/foo just so I know where everything is, especially for CLI work.
 
Old 05-21-2020, 11:50 PM   #18
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 149

Original Poster
Rep: Reputation: Disabled
so adding
udisks --mount /dev/sdaX to /etc/rc.d/rc.local is sensible solution ???
 
Old 05-22-2020, 01:22 AM   #19
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 2,425

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
^ I wouldn't have thought so.

What are you trying to achieve?
 
Old 05-22-2020, 02:07 AM   #20
Roken
Member
 
Registered: Oct 2011
Location: Warrington, UK
Distribution: Arch local, Debian on VPS, several RPIs.
Posts: 277
Blog Entries: 1

Rep: Reputation: 52
I am also a /mnt/foo guy. All of my mounts (local and NFS) are mounted into directories in /mnt. Have been for years.

Having said that, I got used to this before there was such a thing as /media (and FFS /run/media/xxx/).
 
Old 05-22-2020, 03:07 AM   #21
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,631

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
Originally Posted by GazL View Post
but it wasn't intended as a place for permanent mounts.
But in Slackware it does come with several ready-to-use subdirectories for utility mounts:
Code:
package aaa_base will create
/mnt
/mnt/cdrom
/mnt/floppy
/mnt/memory
/mnt/README
/mnt/dvd
/mnt/tmp
/mnt/hd
/mnt/cdrecorder
/mnt/zip
so clearly not just the /mnt directory itself.
The README says
Quote:
The purpose of the /mnt directory is to provide a place for the admin to mount block device temporarily. Any of the subdirectories of /mnt may be used, or volumes may even be mounted directly on /mnt (which is the traditional way of doing things, though /mnt/tmp is also provided for the purpose of mounting any kind of volume temporarily).
Pat thus leaves it up to you how to use /mnt and/or its subdirs.
 
Old 05-22-2020, 03:50 AM   #22
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,480
Blog Entries: 14

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Yes, one can use either /mnt or a subdirectory for mounting things temporarily, but permanent mounts are best placed elsewhere: a latter mount on /tmp itself my obscure something previously mounted on a subdirectory thereof.

If one is paying attention, then that sort of thing won't happen, but best to protect yourself from your own absent-mindedness.


I currently have most my permanent mounts under /srv. In the past I've used /local (which I still like). Don't be afraid to create your own top level directory if it suits your needs -- there's no rules against doing so.

Last edited by GazL; 05-22-2020 at 03:52 AM.
 
Old 05-22-2020, 05:22 AM   #23
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 149

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
^ I wouldn't have thought so.

What are you trying to achieve?
i want mount my drive and have it seen thunar side panel

Last edited by przemo; 05-22-2020 at 05:24 AM.
 
Old 05-22-2020, 07:18 PM   #24
Gnisho
Member
 
Registered: Aug 2012
Location: Phoenix, AZ
Distribution: Slackware
Posts: 33

Rep: Reputation: Disabled
Count me in on team "put it where you think you should." My permanent storage goes under /archive, my backup volumes which are only attached while running backups go under /extern, though I tend to use /mnt/floppy for thumb drives and such when needed. Anyone other than me who sees any of this stuff does so via network shares with completely different naming schemes anyway.
 
Old 05-23-2020, 03:57 AM   #25
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,395

Rep: Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639Reputation: 4639
Interesting, it was 4 days ago (the start of this thread). Did you try to mount it (anywhere) and use? What are you waiting for?
 
  


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
Partition mess Tristan Sharp Linux - Software 3 02-10-2003 12:45 AM
X mess. No driver for agp trident blade. Racso Linux - Software 1 01-07-2002 12:24 PM
*error mess* Waiting for X Server to shut down Tasha v71 Linux - General 9 10-19-2001 09:45 PM
ok, what'd I mess up breed Linux - Networking 1 10-02-2001 01:42 PM
authorizations and/or ownership mess marlaina1 Linux - General 3 06-14-2001 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration