01-23-2012
Sorry about the rule, I was convinced that overriding the default would prevent the rule being created... I also can't tell what all the existing rules you have are. udev doesn't seem to have a "match this rule and STOP PROCESSING RIGHT NOW" directive, otherwise I'd have done that too.
Glad that works. Just beware the system doesn't get it in its head to modprobe it again when a device gets plugged in or something. You might want to move or remove ahci.ko itself (if possible).
sdc may be weird because some usb sticks come formatted without partition tables at all -- they're formatted like old-fashioned floppy disks, with FAT partitions right at the boot sector itself.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Will some one tell me what this means.
"warning: ida 0 <slot 6> : command timed out on dev 1/42 blk 4824290 logical unit=0 blocks=5512102, size 2, cmd=0x20."
I'm running SCO 505 on a proliant 1600r.
Thnank you in advance. (3 Replies)
Discussion started by: franruiz
3 Replies
2. Linux
I am using an Acer Aspire 4720Z with two partitions C and D. Windows is installed on C and I decided to install Red Hat Linux 9 in partition D. The two partitions are in NTFS file system. During my installation of the the Linux, a prompt was displayed on screen with the message: "No hard drives... (2 Replies)
Discussion started by: tamcomng
2 Replies
3. Filesystems, Disks and Memory
Any recommend manufacturers for an internal SCSI tape drive in my FreeBSD 7.0 home server? Besides RAID-1, I'm not backing-up, but man, are they expensive! What makes a tape drive so darn pricy? There is no way I can afford a new drive so I'll start looking on eBay and craigslist to see if there... (3 Replies)
Discussion started by: Aaron Van
3 Replies
4. Solaris
Version: solaris 10 x86
I just got a western digital external harddrive formated with fat 32. this drive came with some setup files which is meant for windows or mac.
I want to reformat and partition this drive into two ( for solaris and windows) such that the setup files will still be there... (2 Replies)
Discussion started by: seyiisq
2 Replies
5. Filesystems, Disks and Memory
Folks;
I just added 2 physical new hard drives to my SUSE server. My server is already running SUSE 10.3 version.
Is there a command i can use to add the new space or even see if the system can sees them? (3 Replies)
Discussion started by: Katkota
3 Replies
6. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
7. Solaris
I have a T2000 Sun-Fire server. I have 2 sets of drives in a raid 1. Lets call them Set A and Set B. I had Set A installed and working. I needed a new install so I so build up Set B. After some time I wanted to put Set A back in the server. Now the system will not boot off of Set A. I tried to boot... (7 Replies)
Discussion started by: stu1811
7 Replies
8. Hardware
Hello everyone. I have a question which I may know the answer to, I'm just looking for a confirmation. When it comes to the MBR of a hard drive, i've read in multiple sources that it's always located in the first sector of the hard drive. Is the MBR there from the factory? When I buy a new blank... (3 Replies)
Discussion started by: Lost in Cyberia
3 Replies
9. Solaris
Hi,
I have two SCSI Hard Drives in a Sun Solaris 8 server as shown below. I would like to access Disk1 and look at its contents, directory structure and files. How do I change my default directory from Disk 0 to Disk 1 and vice versa?
Thank you. (5 Replies)
Discussion started by: ssabet
5 Replies
10. UNIX for Beginners Questions & Answers
Ok so i thought i was smart but i can tell I need some help. I am playing around with understanding lvm and adding disks to a linux box. I added a disk and then ran what i thought were commands to add this disk to the box but I think I messed up and would like some help. My question is did i... (5 Replies)
Discussion started by: cptkirkh
5 Replies
LEARN ABOUT DEBIAN
ufiformat
ufiformat(8) System Manager's Manual ufiformat(8)
NAME
ufiformat - Format a USB floppy disk.
SYNOPSIS
ufiformat [ -hiqvV ] [ -f|--format [size]] [ devicepath ]
OPTIONS
-f, --format [size]
Specify format capacity SIZE in KB. Without -f option, the format of the current media will be used.
-V, --verify
Verify the medium after formatting. Only meaningful without -i option.
-F, --force
Do not perform any safety checks.
-i, --inquire
Show device information, instead of performing format. Without devicepath argument, list all USB floppy disk devices attached to
the system.
-v, --verbose
Be verbose.
-q, --quiet
Suppress minor diagnostics.
-h, --help
Show help message.
DESCRIPTION
ufiformat is a raw level formatting disk utility for USB floppy devices.
Raw level format is to write gap,index,sectors to the unformatted disk using special commands specific to the disk controller, to make the
plain magneto-sensitive film into sector-addressable medium. Note that raw level format is NOT about creating filesystems (fs(5)) on the
disk.
After mid-1990's, floppy disks are sold generally pre-formatted in MS-DOS 2HD format: 80 cylinder, 2 heads, 18 sectors/track, 512
bytes/sector; it is seldom in need for raw formatting. Nevertheless raw formatting could cure some disk and drive mismatchings.
WARNING: You will NOT raw format an LS-120 disks or (removable) hard disks; they are precision formatted in factory and cannot be raw
reformatted.
ufiformat supports only the following format capacities:
1440/1232/1200 (for 2HD disk)
720/640 (for 2DD disk)
The device should support the capacities also, otherwise ufiformat shows an error message.
The above format capacities are predefined in the program, but each USB floppy device also has a limited set of formats (defined
internally) that it can format media to. The allowed format capacities are obtained by querying (-i) the device, but this only returns the
total format capacity and not CHS (cylinder, heads and sectors), hence a mapping is required in the program.
EXAMPLES
Inquiry the device for available format:
# modprobe sg
# ufiformat -i /dev/sda
vendor: Y-E DATA
product: USB-FDU
write protect: off
media type: 2HD
status block size kb
formatted 2880 512 1440
formattable 2880 512 1440
formattable 1232 1024 1232
formattable 2400 512 1200
Format the floppy disk in 1.44MB, and create a FAT filesystem:
# ufiformat -f 1440 /dev/sda
# mkdosfs -I /dev/sda
PREREQUISTES
ufiformat needs /dev/sg* SCSI pass-thru device to operate. If the device does not exist, add the driver by invoking modprobe sg.
You often need to be root to do anything with /dev/sd*.
SEE ALSO
fdformat(8), floppy(8), sg(4)
"Universal Serial Bus Mass Storage Class - UFI Command Specification" Revision 1.0 December 14 1998
http://www.usb.org/developers/devclass_docs/usbmass-ufi10.pdf
ufiformat(8)