Udev label removes corresponding fdisk, sfdisk or lsvdev entry
I'm curious about the behavior where any udev labeled device causes that corresponding listing to disappear from fdisk, sfdisk, or in the case of RDAC, lsvdev.
I have seen this on both EMC clariion and Sun Storagetek/Engenio 6540 arrays.
We use RHEL5.1 and udev to create persistent labels for Oracle devices.
Example udev rule:
I'm comfortable that we can always reference the /dev/ocr* or /dev/vot* devices, I'm just looking for how to explain this behavior. Is there some mechanism under the hood causing it? Is it so someone doesn't do things with those fdisk listed devices and inadvertently wipe out udev labeled ones?
installed fedora core 5 on a pc with USB and some usual things. in boot up it is stopped at "Starting udev:". Its harddisk light is busy. is it reconfiguring the kernel?. what do to solve this problem?. (0 Replies)
I have a script that reads from a file and deletes all files in tha path specified in the file.The problem,however, is the script also deletes itself from the home directory where I run it :-(
#!/bin/ksh
while read DAYS PURGE_PATH
do
cd $PURGE_PATH
find . \( -type d ! -name . -prune \)... (5 Replies)
Hi guys,
I want to write a script to automate partitioning for some project that I'm working on. I tried using fdisk but it was too painful... so, turned to sfdisk but now I'm getting strange results...or at least I think so.
What I want to do is, to get the disk size to be created from... (0 Replies)
Hi,
Using fdisk I created a partition of 15.7 GB. I entered +15700M
Using sfdisk there is a heading called blocks and there is a number which is approximatly 400 BM less. When I mount the partition and use df -l the 1K block column displays only 15GB!
I need to understand these numbers if... (2 Replies)
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Hello!
I'm sorry if this is the false Forum, didn't really knew where to put it...
My question:
I have serveral USB-Sticks and wrote several Udev-Rules for theme, each Sticks needs to do something else, but all are using the same script (they have common tasks to do) and only some parts are... (2 Replies)
Hello,
MBR partition table made by linux fdisk looks certainly not correct when printed by openbsd fdisk:
Partition table created on linux (centos 6.3):
# fdisk -l /dev/sdc
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 *... (2 Replies)
Hello All,
I found this site here: AndDiSa Android Blog: Nexus 7 MTP automount on OpenSuse 11.4
That sites explains how to mount an Android device that can only connect to a computer using MTP or PTP instead of what it used
to get treated as, which was a Mass Storage Device.
In my Rules... (0 Replies)
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Hi Guys,
Can someone take a look at my scripts what missing, plugin usb drive the script is running can log all my echo but cannot execute command. Is there any configuration in linux or to my scripts need to add?.
What i want to achieve is every time I plugin the usbdisk automatic mount to... (21 Replies)
Discussion started by: lxdorney
21 Replies
LEARN ABOUT NETBSD
uk
UK(4) BSD Kernel Interfaces Manual UK(4)NAME
uk -- SCSI user-level driver
SYNOPSIS
uk* at scsibus? target ? lun ?
DESCRIPTION
The uk driver provides support for a process to address devices on the SCSI bus for which there is no configured driver.
A SCSI adapter must also be separately configured into the system before this driver makes sense.
KERNEL CONFIGURATION
If a count is given, that number of uk devices will be configured into the NetBSD kernel.
IOCTLS
The uk driver has no ioctls of its own but rather acts as a medium for the generic scsi(4) ioctls. These are described in <sys/scsiio.h>.
FILES
/dev/uk[0-255] unknown SCSI devices.
DIAGNOSTICS
All scsi(4) debug ioctls work on uk devices.
SEE ALSO ioctl(2), cd(4), ch(4), scsi(4), sd(4), ss(4), st(4)HISTORY
The uk driver appeared in 386BSD 0.1.
BSD October 11, 1993 BSD