also @ TechSpot: Mozilla developing Metro-specific Firefox for Windows 8
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

USB key and Fedora 4

Thread Tools Search this Thread
  #1  
Old 03-04-2006
AtK SpAdE's Avatar
TechSpot Chancellor
 
Location: Black Mesa
Member since: Nov 2004, 1,836 posts
System specs
USB key and Fedora 4

Ok so im trying to get my Lexar 512 Mb usb key to work with linux.

I have used my root account to mount up this

mount -t auto /dev/sda1 /mnt

and it seems to be ok.

then i type /dev/sda1 into nautilus. and i get, nautilus has no viewer capable of veiwing /dev/sda1

im a general noobie at linux, so what am i overlooking
  #2  
Old 03-04-2006
Mictlantecuhtli's Avatar
TechSpot Special Forces
 
Location: Finland
Member since: Feb 2002, 4,886 posts
System specs
You need to browse the /mnt directory where you just mounted the device, not the actual device itself.
  #3  
Old 03-04-2006
AtK SpAdE's Avatar
TechSpot Chancellor
 
Location: Black Mesa
Member since: Nov 2004, 1,836 posts
System specs
Thanks alot

as i said im a bit new to the linux scene, and so far i have been impressed.

My last question. Do you have any idea (or is it even possible) to make the device mount itself at every boot?
  #4  
Old 03-05-2006
Mictlantecuhtli's Avatar
TechSpot Special Forces
 
Location: Finland
Member since: Feb 2002, 4,886 posts
System specs
It's much easier to use udev when dealing with devices like USB sticks. udev manages devices in /dev automatically and you don't need to worry about correct symlinks if you happen to plug the stick to another USB port, for example.

Writing udev rules

This is what I use for my Kingston USB stick:

Code:
/etc/udev/rules.d/20-stick.rules:

BUS=="usb", KERNEL=="sd*", SYSFS{product}=="DT Elite HS 2.0", NAME="%k", SYMLINK="stick%n"

The line in /etc/fstab:

/dev/stick1     /stick          vfat    user,noexec,noauto      0 0
Then I can create a device on the KDE desktop pointing to /dev/stick1. Plug in the stick, doubleclick the icon on desktop, ready. When I want to remove it, I just right-click the icon and select unmount.


But to answer your question: to make devices mount automatically on boot, use "auto" option in /etc/fstab (where I used noauto).

You can see more information from man-pages, by typing man fstab in terminal.
Closed Thread

Similar Topics
Topic Replies Forum
Fedora 5 x64 DVD Download 3 The Alternative OS
Xp and fedora 8 1 The Alternative OS
Fedora Linux 4 The Alternative OS
Fedora 5 1 The Alternative OS
removing fedora 1 The Alternative OS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 11:59 PM.