LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-10-2012, 10:18 PM   #1
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Rep: Reputation: Disabled
USB mount point is not shown in /dev entry point


Hi All,

I flashed initrd image in to flash memory and booted the board.

After inserting the pendrive following logs are shown:

# usb 1-1.3: new high speed USB device using ehci_hcd and address 6
usb 1-1.3: New USB device found, idVendor=058f, idProduct=6387
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Product: Mass Storage Device
usb 1-1.3: Manufacturer: JetFlash
usb 1-1.3: SerialNumber: 1TYSE94P
scsi4 : usb-storage 1-1.3:1.0
scsi 4:0:0:0: Direct-Access JetFlash TS4GJFV10 8.07 PQ: 0 ANSI: 2
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] 7843840 512-byte logical blocks: (4.01 GB/3.74 GiB)
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] Assuming drive cache: write through
sd 4:0:0:0: [sda] Assuming drive cache: write through
sda: unknown partition table
sd 4:0:0:0: [sda] Assuming drive cache: write through
sd 4:0:0:0: [sda] Attached SCSI removable disk


but when i checked in /dev,, sda mount point is not present.

Please let me know how i need to mount in in /dev ot where it will be mounted other than /dev?
 
Old 12-11-2012, 03:10 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,461

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
I guess you are not running udev, which would create the /dev node.
In that case you can make the dev entry yourself with
Code:
mknod /dev/sda b 8 0
where b is for block device and 8,0 are the major and minor numbers as shown in /proc/partitions.

It seems odd that there is no label on your pendrive. Normally there is an msdos label and you mount /dev/sda1.
 
Old 12-12-2012, 09:09 AM   #3
garryhk
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
More infor required

Hi,

Thanks for ur valuable response.

In ur below reply "where b is for block device and 8,0 are the major and minor numbers as shown in /proc/partitions."

In /proc/ one file is present with "partions". In this file nothing is there.

How do i find the major and minor number for this device?

FYI:
Aftre inserting the pendrive ,in /proc/usb-device/scsi is this directory a number(4 or 5,which matches with sda when inserted) is present.

Is this number helpful for us?
 
Old 12-12-2012, 05:28 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,461

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
How about if you try:
Code:
cat /sys/block/sda/dev
 
  


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
puppy+grub saves ram installed mount point as HD install mount point agualust Linux - Newbie 0 04-10-2009 11:23 AM
xfe : mount point /dev/.static/dev is not responding frenchn00b Linux - Software 0 10-06-2008 06:12 PM
set mount point of /dev/hda1 to windows/c etc... shikhar Suse/Novell 5 08-08-2006 12:41 AM
mount point for /dev/hda2 (my boot partition) annihilate Slackware - Installation 5 05-23-2004 03:38 AM


All times are GMT -5. The time now is 03:30 AM.

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