Debian Multimedia :: Disable Write Caching For Removable Media?
Feb 9, 2010
how to make removable media (e.g. USB sticks) not have any write caching. I want to prevent data loss when they are removed after file copying appears done but before write caches are written. I'm using Gnome on Squeeze.
I've found suggestions of adding the 'sync' mount option to /system/storage/default_options/vfat/mount_options in the Gnome configuration. However this doesn't seem to completely eliminate write buffering, as the drive activity light continues for several seconds after file copying appears done, and unmounting drives produces a dialog box which says to wait whilst data is written to disk.
View 5 Replies
ADVERTISEMENT
Dec 23, 2010
I want to disable automounting removable media when they are inserted, especially CD and DVD. I use F13 and Gnome. I went through System/Preferences/File Management/Media and set everything to "Do Nothing", see below:
I have installed gconf-editor and verified that all automounting options are unchecked:
according to "/sbin/chkconfig --list" haldaemon is off and automount is not installed.
What else should I check?
I would not mind if USB (flash) disks were automounted
View 3 Replies
View Related
Jul 16, 2009
I want to disable automounting of removable media such as anything on USB, memory cards, and even eSATA. I do want the device node to be set up, but that's it.
View 3 Replies
View Related
Jul 20, 2015
I'm going traveling and I had the bright idea of putting my sensitive and irreplaceable files on an sd card. Then if I leave my stuff in a sketchy hostel for the day, I can easily take the card and might lose only a replaceable netbook. The problem is that I want some files to have 600 permissions (rw-------), readable and writable only by owner.
But no power on earth seems to be able to force a fuse-ified filesystem to pay attention. Whether I try "chmod 600 filename.txt" as the owner/user or as sudo makes no difference. Nothing works. The sd card is mounted with a line in /etc/fstab:
Code: Select allUUID=0000-0000 /mnt/64_GB_sdxc exfat auto,rw,user,exec,uid=1000,gid=1000,dmask=0022,flush,fmask=133 0 0
So the user owns the files and they have typical permissions instead of the automounted default of 700. That's all very nice, but I'd like to be able to change permissions on just a few files!
View 3 Replies
View Related
Jul 18, 2015
I have the following hardware setup:
a NAS running Debian that frequently (but not always) has two removable media attached,a Debian desktop that mounts the above NAS via sshfs,the aforementioned removable media are symlinked to the directory on tha NAS that is then mounted by the desktop.
What I'd like this setup to do is to immediately time out if mounts as unavailable. Instead, I only get the expected behaviour if the NAS is down (the ssh client takes about 3 seconds to do that); if it's up, the removable media automounts (they are symlinked to the directory shared with the desktop) seem to never time out, ever. This happens locally on the NAS as well, when ssh'ing to the NAS and trying to run `ls /media/Storage` or `ls /media/Backup`, these commands never return. It's as if systemd was ignoring the x-systemd.device-timeout setting on the NAS.
The relevant part of the NAS's fstab:
Code: Select all/dev/sdb1 /media/Backup ext4 defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,user,nofail,x-systemd.idle-timeout=30s 0 1
/dev/sdc1 /media/Storage ext4 defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,exec,nofail,x-systemd.idle-timeout=5min 0 1
[Code] ....
I find it highly interesting that despite both removable media being detached, only one is flagged as having a dependency failed. Both paths exhibit the hang behaviour, though.
What can I do to actually time out when the media are not there?
View 4 Replies
View Related
Jan 1, 2011
Im trying to do a frugal install off the hard drive (no usb,cdrom) with unetbootin. It installs grub and then will boot the installer but is still tries to find the removable media. Whats going on????
View 2 Replies
View Related
Jan 26, 2009
i downloaded and installed ubuntu 8.1 and when i pop in a cd it tells me that it cannot find autorun. i seem to be missing the removable drives and media tab which i'm told should be located under system/preferances.
View 1 Replies
View Related
May 12, 2010
I use Ubuntu 10.04, and whenever I insert media into a removable media drive, it does not come up on my desktop automatically. I need to go to Computer, then to the drive. It then appears on my desktop. Is there any way to make the device automatically appear? This problem occurs for any removable media. I am using Ubuntu 10.04.
View 4 Replies
View Related
Mar 28, 2011
(Ubuntu 10.10, Unity desktop)How can I configure Ubuntu to launch gtkpod when I connect my iPod? It's currently launching Rhythmbox. I can't find anything about removable media in Unity's Toolbar > Applications
View 2 Replies
View Related
Mar 31, 2011
This appears to be a simple problem, but I struggled my way around google, trying to figure out the right words to search for, with no real success. The problem:When I plug-in any usb device or an external hard disk, my RedHat automatically mounts it to /media/<device_name>. Unfortunately, it's owner and group are both root, whereas, I would like to add other users to have write access (say, all users in a group usb_group to be able to write stuff in it). Currently only read access is there for others. I would like to change it to write access to a particular group and I can add the
View 5 Replies
View Related
Apr 3, 2010
I understand that the linux pipe is a buffer and that any data written to it will stay there until it is read, and if the max capacity of the buffer is reached, any additional writes will block (by default).
HOWEVER, the behavior of the pipeline below suggest that the write operations are buffered/cached before ever being written to the pipe on the client side here is write.sh, which creates 1000 byte string and writes it 100 times to stdout... the idea being that it'll block as soon as the 64kb linux pipe size is reached:
[Code]...
This is not what I was expecting: I was expected that once the capacity was reached, any reads would be followed immediately by a write to take advantage of the freed space. Instead, the blocked write operation seems to wait for some random amount of time/space to free until it unblocks and writes.
View 2 Replies
View Related
Oct 22, 2010
Is it possible to disable caching of thumbnails in nautilus but still have them on? I tried linking .thumbnails to /dev/null but that just disabled them completely.
View 1 Replies
View Related
Mar 13, 2011
There is this server that is running a lot of websites and runs varnish for caching for performance boosting. But I want to somehow remove certain URLs from caching which change frequently. But I do not want to remove complete domains from caching but certain URLs from the websites. Is there any way to remove those pages from caching?
View 2 Replies
View Related
May 1, 2011
jeff@optiplex:/media$ ls -l
total 124
lrwxrwxrwx 1 root root 6 Apr 7 14:46 cdrom -> cdrom0
drwxrwxr-x 2 root root 4096 Apr 7 14:46 cdrom0
[code]....
View 10 Replies
View Related
Jul 6, 2010
I'm using Fedora 12, and I want to mount/unmount my USB memory stick from the command line. I know I could edit /etc/fstab and so on, but I want to emulate what happens when you mount using the GUI (I use KDE and the device notifier), that is, I want to be able to do this as an unprivileged user and not have to know the mount point exists in advance.
I'm sure in older versions of Fedora there was a command something like `gnome-user-mount' which let me do this knowing only the filesystem label... What is the current equivalent?
View 5 Replies
View Related
Jul 23, 2010
I'm running a fresh 64-bit install of Ubuntu 10.04. I no longer have a System->Preferences->Removable Drives and Media option in my menus, and need to re-configure it (I had set it to "Do Nothing" and "Always do this action" sometime in the past, but now I want to change it)I have right-clicked my menu, went to edit, and made sure it wasn't un-checked)Has the "Removable Drives and Media" option been moved somewhere else in 10.04?
View 4 Replies
View Related
Mar 16, 2010
Ubuntu 9.04 Gnome Desktop (although I have seen the same situation in other versions).When I have a removable media device installed such as a USB flash drive, a CD/DVD or an SD card in the built in reader I have a corresponding icon on the desktop. So here is my situation...I have a 16 GB SDHC card installed in the reader in my netbook as additional storage. As the main solid state "hard drive" itself is only 16 GB I leave the card in at all times. I would like to do away with the desktop icon as I never use it to access the SD card. Any way to do this? I believe it appear as part of the HAL process so perhaps it will go away with 10.04.
View 2 Replies
View Related
Feb 17, 2010
I have a program that is very heavily hitting the file system, reading and writing randomly to a set of working files. The files total several gigabytes in size, but I can spare the RAM to keep them all mostly in memory. The machines this program runs on are typically Ubuntu Linux boxes.
Is there a way to configure the file system to have a very very large cache, and even to cache writes so they hit the disk later? I understand the issues with power loss or such, and am prepared to accept that. Crashing aside, in normal operation the writes should eventually reach the disk!Or is there a way to create a RAM disk that writes-through to real disk?
View 5 Replies
View Related
Mar 17, 2011
I run a system that users may log into either remotely or physically. Multiple users may be logged in simultaneously because of the remote access, but only one user can be physically logged in at a time.With the current setup, however, if the physical user inserts a flash drive (which the OS mounts automatically) then the remote users gain access to the removable media.
View 6 Replies
View Related
Jan 10, 2010
I've just partitioned my hard drive with GParted so that I have space to install and run Windows OS based programmes such as Monkey Island (wine simply won't work) and other PC games. I have the Windows XP SP2 Installation CD but my OS (Intrepid Ibex) won't allow me to autorun the CD and proceed to installation.
Now having hunted around the net little, it seems the answer is System->Preferences->Removable Drives and Media. Problem is, I don't have a Removable Drives and Media option on this menu. Is there a workaround for this? E.g., is there a way of using the Terminal to enable autorun, or is there another way I can do this?As I'm pretty new to this thing, feel free to use short words and detailed explanations.
View 3 Replies
View Related
May 2, 2010
behavior in 9.04:plugged in a disk, mounted it and it as readable to the world.this is intended because it is shared via samba.behavior in 10.04:the disks have 700, meaning, they are not readable by samba.this is a problem.this is the best solution I've found so far:http://www.mail-archive.com/ubuntu-u.../msg10951.htmlexcept, that the mentioned means to fix this are gone.(gconf-editor -> ..., storage and preferences -> removable media)after 3 hours of googleing and reading I'm rather upset about this bug.so please, if you are thinking of suggesting fixed entries in the fstab or anything else that will not work with every media that is plugged into this box, just close this tab.
View 3 Replies
View Related
Jan 19, 2010
I'm looking for a virus scanner to scan some removable media (USB drives, mp3 players, etc). Since there's so many choices to choose from, can anyone recommend any?
I've heard a lot of people recommending clam av, but everything I've read suggests that clam av is better used for scanning e-mail servers and not home desktop application...
View 1 Replies
View Related
May 20, 2010
Through some recent update, which one I am not sure, my system no longer responds to removable media such as flash drives and insertions of DVD/CD disks. Whereas before, for instance, if I inserted a USB flash drive, the "Device Notifier" would pop up, tell me that a new device had been detected, and ask me what I wanted to do with it, now nothing. "My Computer" (sysinfo:/)does not update either. The kernel knows the device is there, since I can see it when I do "lsusb". OpenSuSE x86_64 11.2.
View 3 Replies
View Related
Jan 6, 2010
How do i actually check whether the 'nosuid' and 'nodev'option are added for removable media in the /etc/fstab file?
View 1 Replies
View Related
Aug 15, 2010
I'm using 32 bit (i686) Debian Lenny. The multimedia repo is installed, w32codecs is installed, VLC and Kaffeine are both installed. I was trying to listen to some audio files on the NPR site (link will follow) and find that I can't open the files with anything I have installed. The Linux version of the Realplayer isn't in the repo (and I don't really want to install it after some of the things I've read about it) but I gotta have my NPR and there's no way I'll EVER go back to a M$ OS. How can I listen to these files without downloading them and then uploading them to a media conversion site? I'm usually very good with google but this one has me stumped.
View 11 Replies
View Related
Feb 26, 2011
It seems to me that there is a media player that can play .iso files. which one or ones do this so that I don't have to install the dozen or so that are in the repositories.
View 5 Replies
View Related
Jun 28, 2011
How do i stop the autorun dialogue when i insert a cd or dvd or any removable media?
View 7 Replies
View Related
May 18, 2011
I just upgraded Xubuntu from 10.04 LTS to 11.04 and I am no longer able to mount removable media from the "places" menu. The message I get:
"Failed to execute child process exo-mount (No such file or directory)"
I assume some wrapper process is attempting to execute a program called "exo-mount," but no such program exists anywhere in the repositories, according to a search with apt-file. The "exo-utils" package used to contain exo-mount, but the program no longer exists in that package.
Mounting from within Thunar works fine.
View 3 Replies
View Related
Jul 3, 2015
If, theoretically, Iceweasel and Firefox are the same, why WhatsApp Web pictures and audios work on Firefox, but they don't on Iceweasel?
Iceweasel 38.0.1, Firefox 38.0.5. There isn't anything related in the release notes [URL]
View 3 Replies
View Related
Dec 9, 2010
minitube version 1.1-1 in squeeze, which worked beautifully until a short time ago, doesn't work anymore. seems videos has changed something...
View 12 Replies
View Related