Hi,
On Fri, Nov 27, 2015 at 10:09:47PM +0200, Ari Sundholm wrote:
> + if (!S_ISBLK(st.st_mode))
> + bb_error_msg_and_die("%s is not a block device!", argv[optind]);
$ git grep -A1 '!S_ISBLK' | grep bb_error_msg
util-linux/fdformat.c- bb_error_msg_and_die("%s: not a block device",
*argv);
util-linux/mkfs_ext2.c- bb_error_msg_and_die("%s: not a block device",
argv[0]);
util-linux/mkfs_reiser.c- bb_error_msg_and_die("%s: not a block
device", argv[0]);
A.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox