From: Danny Leong <danny@trek2000.com.sg>
To: linux-scsi@vger.kernel.org
Subject: Advice on getting the scsi device name.
Date: 04 Jun 2004 10:48:16 +0800 [thread overview]
Message-ID: <1086317300.1023.9.camel@localhost.localdomain> (raw)
Hi,
I am writing a program that needs to safely and correctly identify and
mount a dev/sda ... dev/sda1 or dev/sdb etc.As far my knowledge fits me,
i have to manually check the entry on proc/scsi/scsi to determine.
Please advice me on a better method that could be included in a C
program. Any help is greatly appreciated.
- Thanks :)
Danny
next reply other threads:[~2004-06-04 2:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-04 2:48 Danny Leong [this message]
2004-06-04 8:09 ` Advice on getting the scsi device name Christoph Hellwig
2004-06-04 17:20 ` Bryan Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1086317300.1023.9.camel@localhost.localdomain \
--to=danny@trek2000.com.sg \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox