Displaying 1 result from an estimated 1 matches for "btrfs_scan_end".
2010 Apr 16
2
[RFC] btrfs, udev and btrfs
...has the disadvantage to need to be used for every new
device.
From this observation I write a udev rule which scan the new block devices,
excluding floppy and cdrom.
Below my udev rule
$ cat /etc/udev/rules.d/60-btrfs.rules
# ghigo 15/04/2010
ACTION!="add|change", GOTO="btrfs_scan_end"
SUBSYSTEM!="block", GOTO="btrfs_scan_end"
KERNEL!="sd[!0-9]*|hd[!0-9]*", GOTO="btrfs_scan_end"
IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
# only disk scsi and ide
ENV{ID_FS_TYPE}="btrfs", RUN+="/sbin/btrfsctl...