Another way to do what you want is to query the devices using the hal-* utilities which are available on most modern GNU/Linux distributions.
Here is the output for two USB thumb drives
I'm trying to moun my external USB Mass Storage Drive (80GB) in my Solaris 9 box, I am new to Solaris, and kind of new to linux / unix variants. The external HD contains windows files, but I will be using it as a central storage area for my windows/ linux clients.
Thanks
--
N:confused:C (1 Reply)
I'm hunting around for thumb drives that aren't working. Something you may have kicking around in a drawer that you don't need any more. One you've upgraded and just don't need.
I'm willing to pay a couple bucks for you to drop it into an envelope with a few stamps and send it along.
I'm... (0 Replies)
Can Solaris/any GNU/Linux distros/ any flavor of FreeBSD be booted, right from aUSB flash drive?
Mine's the one pictured here.
SanDisk | Products | USB Flash Drives | SanDisk CruzerŽ Titanium Plus USB Flash Drive
Also, on a completely unrelated note (just so I don't have to fill up forum... (4 Replies)
There is a same named log file that I have on my 2 different android phones. When I plug it into my computer, it appears in the media folder, For example the first android phone:
/media/F6BA-0AF5/folder/A.log
I want to put that into a variable to be manipulated.... (3 Replies)
What do you think of the idea of selling flash drives already prepared to boot Puppy Linux on PCs? (I still need to see if I can boot on Macs using online instructions I've found.) I know it's not too hard to prep your own flash drive, even if you have to buy one first, but just think about why... (8 Replies)
I have a script to detect if a host is pingable or not. The problem is that I would like it to put the nonpingable hosts in one file and the pingable hosts in another. I have come up with this so far:
for ip in `cat /tmp/testlist2`; do ping -c 3 $ip >/dev/null && echo "$ip is up" || echo "$ip... (5 Replies)
hi folks happy new year to all, I haven't been coming round for a long time.
I've been googling about this can't seem to find any good examples, I need to know if it's possible to do a ufsdump os backup into a usb flash drive.
Then what about in event of os recovery when we boot to single... (2 Replies)
Discussion started by: sparcguy
2 Replies
LEARN ABOUT OPENSOLARIS
hal-set-property
hal-get-property(1M) System Administration Commands hal-get-property(1M)NAME
hal-get-property, hal-set-property - get and set HAL device properties
SYNOPSIS
hal-get-property --udi udi --key key [--help] [--verbose]
[--version]
hal-set-property --udi udi --key key {--int value | --uint64 value
| --string value | --bool value | --strlist-pre value
| --strlist-post value | --strlist-rem value | --double value
| --remove value} [--help] [--version]
DESCRIPTION
The Hardware Abstraction Layer (HAL) provides a view of the various hardware attached to a system. This view is updated dynamically as
hardware configuration changes by means of hotplug or other mechanisms. HAL represents a piece of hardware as a device object. A device
object is identified by a unique identifer and carries a set of key/value pairs, referred to as device properties. Some properties are
derived from the actual hardware, some are merged from device information files (.fdi files), and some are related to the actual device
configuration.
The hal-get-property and hal-set-property commands allow you to get and set properties of hardware that conforms to HAL specifications.
OPTIONS
The following options are supported:
--udi udi
Unique device ID.
--key key
Key of the property to set.
--int
Set value to an integer. Accepts decimal or hexadecimal value prefixed with 0x or x.
--uint64
Set value to an integer. Accepts decimal or hexadecimal value prefixed with 0x or x.
--string value
Set value to a string.
--double value
Set value to a floating point number.
--boolean value
Set value to a boolean, that is, true or false
--strlist-pre value
Prepend a string to a list.
--strlist-post value
Append a string to a list.
--strlist-rem value
Remove a string from a list.
--remove value
Indicates that the property should be removed.
--version
Display version and exit.
--help
Display list of options and exit
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWhalr |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO hald(1M), attributes(5), hal(5)SunOS 5.11 18 Aug 2006 hal-get-property(1M)