Use a device over SSH?
SSHFS does not work that way -- it handles files, but not devices. Everything is a file, but there are many types of files, including: regular files, directories, symbolic links, sockets, character devices, and block devices.
% ls -l /dev/sda
brw-r----- 1 root disk 8, 0 Oct 9 20:59 /dev/sda
The letter b
indicates this is a block device. These types of files support ioctl
in addition to the normal read and write functions. The purpose of ioctl
is to allow a way to do "extra" operations to the device. These operations are different for each type of device: a DVD device can open/close its door, but an ethernet device cannot.
This is why the SSHFS software cannot make device files available over the network.
You will need a different system that is made for this purpose, something like webCDwriter.
If you want to remotely access a block device, there is such a tool called 'nbd' (Network Block Device). I have used this in the past to clone a harddrive using dd if=/dev/nbd0 of=/dev/hda
with reasonable success.
However, I doubt this will work for optical drives.
I think you'd be better off running the burning software locally on the remote machine (say with X or VNC), and have it pull files using regular file sharing mechanisms like samba or NFS.
Linux/UNIX are not Plan 9. "Everything is a file" doesn't mean that they're all the same sort of files. FIFOs and device nodes being prime examples.
No, you cannot do it this way. My recommendation would be to use a virtual writer (celebron writes to an image, .iso or other) and pipe that to cdrecord over ssh.