Automount when changing USB floppy
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
When changing the floppy in my usb floppy drive /dev/sdb which is mounted to /home/user/floppy it won't change the contents of my mount directory until I click the floppy icon in the left taskbar or unmount and remount manually.
How can I change this behaviour so my mount directory always shows the floppy content?
16.04 usb mount automount floppy
add a comment |Â
up vote
0
down vote
favorite
When changing the floppy in my usb floppy drive /dev/sdb which is mounted to /home/user/floppy it won't change the contents of my mount directory until I click the floppy icon in the left taskbar or unmount and remount manually.
How can I change this behaviour so my mount directory always shows the floppy content?
16.04 usb mount automount floppy
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When changing the floppy in my usb floppy drive /dev/sdb which is mounted to /home/user/floppy it won't change the contents of my mount directory until I click the floppy icon in the left taskbar or unmount and remount manually.
How can I change this behaviour so my mount directory always shows the floppy content?
16.04 usb mount automount floppy
When changing the floppy in my usb floppy drive /dev/sdb which is mounted to /home/user/floppy it won't change the contents of my mount directory until I click the floppy icon in the left taskbar or unmount and remount manually.
How can I change this behaviour so my mount directory always shows the floppy content?
16.04 usb mount automount floppy
asked Apr 26 at 15:29
Hans Christian Koch
286
286
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Most floppy disk drives do not detect a media change. Some try to emulate this behaviour by watching for a signal change on the write protection photoelectric sensor, but this would not work in all cases.
Floppy disc drives that can detect media changes normally do have an electrical ejection system and no mechanical button to do so. These systems can do the trick you like to have but these are rare. And, well, you would be clicking "unmount" anyway, the difference would be the disc being ejected ;)
BTW: it is no good idea to manually eject the floppy from the drive before logically unmounting it in the operation system as there might be unwritten buffers, software might have open files etc.
Thank you, I was expecting this. I wonder how DOS software handled this as there occured frequent media changes for file transfer. But I guess they just directly accessed the drive which isnt possible here...
â Hans Christian Koch
Apr 26 at 16:49
(Early) DOS used floppy disks without any buffering. So any filesystem changes would have been written to disk synchronously. The risk of having a disc removed from drive was still there but while there was write access, the drive showed the "active" lamp to the user signaling to keep his hands off ;) BTW: In the DOS "precurser" CP/M you had to sync the disk by pressing CTRL-Z or something like that - don't really remember the key combination exactly. First Macintosh computers solved this hy having no eject button but an electrical ejection system initiated by the OS.
â pdr
Apr 27 at 7:20
Just to add on to this: I was able to find a workaround using autofs which unmounts the drive automatically after a specified idle time (e.g. 5 seconds) and remounts it automatically when accessing the mount point, so I can switch floppies nearly fearless :)
â Hans Christian Koch
Apr 27 at 20:23
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Most floppy disk drives do not detect a media change. Some try to emulate this behaviour by watching for a signal change on the write protection photoelectric sensor, but this would not work in all cases.
Floppy disc drives that can detect media changes normally do have an electrical ejection system and no mechanical button to do so. These systems can do the trick you like to have but these are rare. And, well, you would be clicking "unmount" anyway, the difference would be the disc being ejected ;)
BTW: it is no good idea to manually eject the floppy from the drive before logically unmounting it in the operation system as there might be unwritten buffers, software might have open files etc.
Thank you, I was expecting this. I wonder how DOS software handled this as there occured frequent media changes for file transfer. But I guess they just directly accessed the drive which isnt possible here...
â Hans Christian Koch
Apr 26 at 16:49
(Early) DOS used floppy disks without any buffering. So any filesystem changes would have been written to disk synchronously. The risk of having a disc removed from drive was still there but while there was write access, the drive showed the "active" lamp to the user signaling to keep his hands off ;) BTW: In the DOS "precurser" CP/M you had to sync the disk by pressing CTRL-Z or something like that - don't really remember the key combination exactly. First Macintosh computers solved this hy having no eject button but an electrical ejection system initiated by the OS.
â pdr
Apr 27 at 7:20
Just to add on to this: I was able to find a workaround using autofs which unmounts the drive automatically after a specified idle time (e.g. 5 seconds) and remounts it automatically when accessing the mount point, so I can switch floppies nearly fearless :)
â Hans Christian Koch
Apr 27 at 20:23
add a comment |Â
up vote
1
down vote
accepted
Most floppy disk drives do not detect a media change. Some try to emulate this behaviour by watching for a signal change on the write protection photoelectric sensor, but this would not work in all cases.
Floppy disc drives that can detect media changes normally do have an electrical ejection system and no mechanical button to do so. These systems can do the trick you like to have but these are rare. And, well, you would be clicking "unmount" anyway, the difference would be the disc being ejected ;)
BTW: it is no good idea to manually eject the floppy from the drive before logically unmounting it in the operation system as there might be unwritten buffers, software might have open files etc.
Thank you, I was expecting this. I wonder how DOS software handled this as there occured frequent media changes for file transfer. But I guess they just directly accessed the drive which isnt possible here...
â Hans Christian Koch
Apr 26 at 16:49
(Early) DOS used floppy disks without any buffering. So any filesystem changes would have been written to disk synchronously. The risk of having a disc removed from drive was still there but while there was write access, the drive showed the "active" lamp to the user signaling to keep his hands off ;) BTW: In the DOS "precurser" CP/M you had to sync the disk by pressing CTRL-Z or something like that - don't really remember the key combination exactly. First Macintosh computers solved this hy having no eject button but an electrical ejection system initiated by the OS.
â pdr
Apr 27 at 7:20
Just to add on to this: I was able to find a workaround using autofs which unmounts the drive automatically after a specified idle time (e.g. 5 seconds) and remounts it automatically when accessing the mount point, so I can switch floppies nearly fearless :)
â Hans Christian Koch
Apr 27 at 20:23
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Most floppy disk drives do not detect a media change. Some try to emulate this behaviour by watching for a signal change on the write protection photoelectric sensor, but this would not work in all cases.
Floppy disc drives that can detect media changes normally do have an electrical ejection system and no mechanical button to do so. These systems can do the trick you like to have but these are rare. And, well, you would be clicking "unmount" anyway, the difference would be the disc being ejected ;)
BTW: it is no good idea to manually eject the floppy from the drive before logically unmounting it in the operation system as there might be unwritten buffers, software might have open files etc.
Most floppy disk drives do not detect a media change. Some try to emulate this behaviour by watching for a signal change on the write protection photoelectric sensor, but this would not work in all cases.
Floppy disc drives that can detect media changes normally do have an electrical ejection system and no mechanical button to do so. These systems can do the trick you like to have but these are rare. And, well, you would be clicking "unmount" anyway, the difference would be the disc being ejected ;)
BTW: it is no good idea to manually eject the floppy from the drive before logically unmounting it in the operation system as there might be unwritten buffers, software might have open files etc.
edited Apr 26 at 15:53
answered Apr 26 at 15:42
![](https://lh4.googleusercontent.com/-20qCa6beqwY/AAAAAAAAAAI/AAAAAAAAAiY/vq59vvgF0XE/photo.jpg?sz=32)
![](https://lh4.googleusercontent.com/-20qCa6beqwY/AAAAAAAAAAI/AAAAAAAAAiY/vq59vvgF0XE/photo.jpg?sz=32)
pdr
1434
1434
Thank you, I was expecting this. I wonder how DOS software handled this as there occured frequent media changes for file transfer. But I guess they just directly accessed the drive which isnt possible here...
â Hans Christian Koch
Apr 26 at 16:49
(Early) DOS used floppy disks without any buffering. So any filesystem changes would have been written to disk synchronously. The risk of having a disc removed from drive was still there but while there was write access, the drive showed the "active" lamp to the user signaling to keep his hands off ;) BTW: In the DOS "precurser" CP/M you had to sync the disk by pressing CTRL-Z or something like that - don't really remember the key combination exactly. First Macintosh computers solved this hy having no eject button but an electrical ejection system initiated by the OS.
â pdr
Apr 27 at 7:20
Just to add on to this: I was able to find a workaround using autofs which unmounts the drive automatically after a specified idle time (e.g. 5 seconds) and remounts it automatically when accessing the mount point, so I can switch floppies nearly fearless :)
â Hans Christian Koch
Apr 27 at 20:23
add a comment |Â
Thank you, I was expecting this. I wonder how DOS software handled this as there occured frequent media changes for file transfer. But I guess they just directly accessed the drive which isnt possible here...
â Hans Christian Koch
Apr 26 at 16:49
(Early) DOS used floppy disks without any buffering. So any filesystem changes would have been written to disk synchronously. The risk of having a disc removed from drive was still there but while there was write access, the drive showed the "active" lamp to the user signaling to keep his hands off ;) BTW: In the DOS "precurser" CP/M you had to sync the disk by pressing CTRL-Z or something like that - don't really remember the key combination exactly. First Macintosh computers solved this hy having no eject button but an electrical ejection system initiated by the OS.
â pdr
Apr 27 at 7:20
Just to add on to this: I was able to find a workaround using autofs which unmounts the drive automatically after a specified idle time (e.g. 5 seconds) and remounts it automatically when accessing the mount point, so I can switch floppies nearly fearless :)
â Hans Christian Koch
Apr 27 at 20:23
Thank you, I was expecting this. I wonder how DOS software handled this as there occured frequent media changes for file transfer. But I guess they just directly accessed the drive which isnt possible here...
â Hans Christian Koch
Apr 26 at 16:49
Thank you, I was expecting this. I wonder how DOS software handled this as there occured frequent media changes for file transfer. But I guess they just directly accessed the drive which isnt possible here...
â Hans Christian Koch
Apr 26 at 16:49
(Early) DOS used floppy disks without any buffering. So any filesystem changes would have been written to disk synchronously. The risk of having a disc removed from drive was still there but while there was write access, the drive showed the "active" lamp to the user signaling to keep his hands off ;) BTW: In the DOS "precurser" CP/M you had to sync the disk by pressing CTRL-Z or something like that - don't really remember the key combination exactly. First Macintosh computers solved this hy having no eject button but an electrical ejection system initiated by the OS.
â pdr
Apr 27 at 7:20
(Early) DOS used floppy disks without any buffering. So any filesystem changes would have been written to disk synchronously. The risk of having a disc removed from drive was still there but while there was write access, the drive showed the "active" lamp to the user signaling to keep his hands off ;) BTW: In the DOS "precurser" CP/M you had to sync the disk by pressing CTRL-Z or something like that - don't really remember the key combination exactly. First Macintosh computers solved this hy having no eject button but an electrical ejection system initiated by the OS.
â pdr
Apr 27 at 7:20
Just to add on to this: I was able to find a workaround using autofs which unmounts the drive automatically after a specified idle time (e.g. 5 seconds) and remounts it automatically when accessing the mount point, so I can switch floppies nearly fearless :)
â Hans Christian Koch
Apr 27 at 20:23
Just to add on to this: I was able to find a workaround using autofs which unmounts the drive automatically after a specified idle time (e.g. 5 seconds) and remounts it automatically when accessing the mount point, so I can switch floppies nearly fearless :)
â Hans Christian Koch
Apr 27 at 20:23
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028454%2fautomount-when-changing-usb-floppy%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password