LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-12-2013, 04:37 PM   #1
rymjones222
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
Where to mount usb drive on ro kernel filesystem


When running ubuntu 10.04 with a read-only root filesystem where would be the preferred location to mount usb drives since /media would also be ro.
 
Old 02-12-2013, 04:42 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,568

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Think about your question here... When you mount a device you are presenting a new mount point with its own options to the linux kernel. So you can very easily do the mount command with the -o rw option.
 
Old 02-12-2013, 05:18 PM   #3
rymjones222
LQ Newbie
 
Registered: May 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
but in order to mount i would need to have a mount point right? and that would require creating a directory under /media which is ro. I can create something while my filesystem is rw, but that doesn't seem like the correct solution
 
Old 02-12-2013, 05:25 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,568

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
All you need is an existing mount point so if you create the directory /media/usb it will always be there you can then mount your USB drive as rw to that folder and it will be its own read/write filesystem in /media/usb
 
Old 02-13-2013, 04:42 PM   #5
dilbert_uk
Member
 
Registered: Aug 2011
Location: Yorkshire (UK)
Distribution: Lubuntu 10.04, Puppy Wary 5.1.2
Posts: 45

Rep: Reputation: Disabled
Maybe you got already something mounted to tmpfs. "mount | grep tmpfs"
 
  


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
[SOLVED] "Not Authorized" to mount external USB drive or Windows filesystem from Debian alarazr Linux - Newbie 3 01-15-2013 12:40 PM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Can't Mount External USB Hard Drive with Custom Compiled Kernel j0rd4n Slackware 2 03-09-2007 11:43 PM
USB Keyboard Failing at USB Filesystem Mount Time ciaran_skye Fedora 0 08-06-2004 02:09 AM
usb hard drive crash, kernel 2.4.20 and ext3 mount failure cmisip Linux - General 2 03-04-2003 07:59 PM


All times are GMT -5. The time now is 04:10 PM.

Main Menu
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