>>> Mike Christie <micha...@cs.wisc.edu> schrieb am 28.08.2014 um 18:29 in
Nachricht <53ff58dc.7050...@cs.wisc.edu>:
> On 08/28/2014 12:59 AM, Ulrich Windl wrote:
>>> > To delete a device just do
>>> > 
>>> > echo 1 > /sys/block/sdX/device/delete
>> I think the confusing thing is that you don't see a "delete" in  
> /sys/block/sdX/device.
> 
> Not sure what you mean. I do:
> 
> ls  /sys/block/sda/device/
> block           evt_media_change  max_sectors  rescan        state
> bsg             generic           modalias     rev           subsystem
> delete          iocounterbits     model        scsi_device   timeout
> device_blocked  iodone_cnt        power        scsi_disk     type
> dh_state        ioerr_cnt         queue_depth  scsi_generic  uevent
> driver          iorequest_cnt     queue_type   scsi_level    vendor

Hi Mike!

Sorry, my mistake: I just realized that "delete" is not a generic interface, 
that is, you cannot delete any block device in Linux like that. Of course you 
are right for SCSI devices. Sorry for the noise!

Ulrich

> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to open-iscsi+unsubscr...@googlegroups.com.
> To post to this group, send email to open-iscsi@googlegroups.com.
> Visit this group at http://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to