Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.debian > #7567 > unrolled thread

Writing to old school 3.5" floppy disk(ette)s...

Started byANTant@zimage.com (Ant)
First post2015-12-29 01:54 -0600
Last post2016-02-05 03:19 +0000
Articles 20 on this page of 57 — 19 participants

Back to article view | Back to alt.os.linux.debian


Contents

  Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 01:54 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-29 09:36 +0100
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:45 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... mm0fmf <none@mailinator.com> - 2015-12-29 19:50 +0000
          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:53 -0600
            Re: Writing to old school 3.5" floppy disk(ette)s... Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-12-29 13:47 -0800
              Re: Writing to old school 3.5" floppy disk(ette)s... Mark Carroll <mtbc@ixod.org> - 2015-12-29 22:00 +0000
                Re: Writing to old school 3.5" floppy disk(ette)s... Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-12-29 14:36 -0800
                Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-30 05:03 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-12-29 14:39 -0800
                Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-31 03:19 -0600
                  Re: Writing to old school 3.5" floppy disk(ette)s... Robert Riches <spamtrap42@jacob21819.net> - 2016-01-01 01:14 +0000
                    Re: Writing to old school 3.5" floppy disk(ette)s... J G Miller <miller@yoyo.ORG> - 2016-01-01 15:19 +0000
                      Re: Writing to old school 3.5" floppy disk(ette)s... Robert Riches <spamtrap42@jacob21819.net> - 2016-01-02 04:04 +0000
    Re: Writing to old school 3.5" floppy disk(ette)s... Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-12-29 10:46 +0200
      Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-29 10:37 +0100
        Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:50 -0600
          Re: Writing to old school 3.5" floppy disk(ette)s... Richard Kettlewell <rjk@greenend.org.uk> - 2015-12-29 22:13 +0000
            Re: Writing to old school 3.5" floppy disk(ette)s... The Natural Philosopher <tnp@invalid.invalid> - 2015-12-30 00:36 +0000
            Re: Writing to old school 3.5" floppy disk(ette)s... philo <philo@privacy.net> - 2016-01-11 06:55 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... The Natural Philosopher <tnp@invalid.invalid> - 2016-01-11 13:02 +0000
              Re: Writing to old school 3.5" floppy disk(ette)s... Ant <ant@zimage.comANT> - 2016-01-16 19:13 -0800
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:46 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Alastair Black <abqab.nemo@example.net> - 2015-12-29 09:38 -0700
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 14:44 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2015-12-29 15:28 -0600
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-30 05:05 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-12-31 08:57 -0600
          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-31 16:32 -0600
            Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-12-31 20:01 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-12-31 20:13 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-31 23:08 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... The Natural Philosopher <tnp@invalid.invalid> - 2016-01-01 09:26 +0000
                Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2016-01-01 11:29 +0100
    Re: Writing to old school 3.5" floppy disk(ette)s... Michael Black <et472@ncf.ca> - 2015-12-29 19:29 -0500
      Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-30 10:03 +0100
    Re: Writing to old school 3.5" floppy disk(ette)s... "Ralf S. Hellersen" <schneiderxr@arcor.de> - 2016-01-01 17:31 +0000
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-01 12:58 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2016-01-01 11:37 -0800
        Re: Writing to old school 3.5" floppy disk(ette)s... "Ralf S. Hellersen" <schneiderxr@arcor.de> - 2016-01-02 18:51 +0000
          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-02 18:38 -0600
            Re: Writing to old school 3.5" floppy disk(ette)s... J G Miller <miller@yoyo.ORG> - 2016-01-03 02:17 +0000
              Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-02 23:22 -0600
                Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2016-01-02 23:41 -0600
                  Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-03 12:17 -0600
                    Re: Writing to old school 3.5" floppy disk(ette)s... Alastair Black <abqab.nemo@example.net> - 2016-01-03 12:02 -0700
                    Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2016-01-03 13:07 -0600
                      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-03 19:01 -0600
                        Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2016-01-04 00:20 -0600
                          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-04 04:24 -0600
                            Re: Writing to old school 3.5" floppy disk(ette)s... "jeff g." <jeff.g.group@att.net> - 2016-01-04 09:16 -0800
                              Re: Writing to old school 3.5" floppy disk(ette)s... Mark Carroll <mtbc@ixod.org> - 2016-01-04 17:30 +0000
    Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-01 14:47 -0600
      Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2016-01-02 20:29 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-04 04:57 -0600
          Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2016-01-04 21:26 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Ruben Safir <mrbrklyn@panix.com> - 2016-02-05 03:19 +0000

Page 2 of 3 — ← Prev page 1 [2] 3  Next page →


#7750

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2016-01-11 13:02 +0000
Message-ID<n7095a$1hj$1@news.albasani.net>
In reply to#7749
On 11/01/16 12:55, philo wrote:
> On 12/29/2015 04:13 PM, Richard Kettlewell wrote:
>> ANTant@zimage.com (Ant) writes:
>>>>> On 29.12.15 09:54, Ant wrote:
>>>>>>
>>>>>> I can erase files but not write like:
>>>>     ^^^^^^^^^^^^^^^^^
>>>>> Have you checked that the diskette is not physically write-protected?
>>>
>>> Yes even with multiple disks in case there was a bad one since they're
>>> all old.
>>
>> Surely anything that reuqires _writing_ to floppy disks is a mistake by
>> now.  Get your files off them and then dispose of them.
>>
>
>
> I agree.
>
> About a year ago I needed to actually find a few working floppies and
> about 90% of the ones I had in storage were bad.

some years ago I was looking for a solution to long term archival of data.

In the end the only thing I felt would actually work, was a very large 
pair of disks, one an exact copy of anything important on the other.

as one disk dies, it is replaced and re-synchronised. Rsync is wonderful 
with cron..

Best of all, I dont have to find te right DVD/tape/floppy. The data is 
online there if I need it


-- 
Outside of a dog, a book is a man's best friend. Inside of a dog it's 
too dark to read.

Groucho Marx

[toc] | [prev] | [next] | [standalone]


#7753

FromAnt <ant@zimage.comANT>
Date2016-01-16 19:13 -0800
Message-ID<MdednT9_5sZdmwbLnZ2dnUU7-KOdnZ2d@earthlink.com>
In reply to#7749
>>>>>> I can erase files but not write like:
>>>>     ^^^^^^^^^^^^^^^^^
>>>>> Have you checked that the diskette is not physically write-protected?
>>>
>>> Yes even with multiple disks in case there was a bad one since they're
>>> all old.
>>
>> Surely anything that reuqires _writing_ to floppy disks is a mistake by
>> now.  Get your files off them and then dispose of them.
>
> I agree.
>
> About a year ago I needed to actually find a few working floppies and
> about 90% of the ones I had in storage were bad.

Well, I was trying to delete/erase files/format. :P
-- 
"An ant is a wise creature for itself, but it is a shrewd thing in an 
orchard or garden." --Francis Bacon
Note: A fixed width font (Courier, Monospace, etc.) is required to see 
this signature correctly.
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )               Axe ANT from its address if e-mailing privately.
A song (i/wa)s playing on this computer: DeXiaZ - The Demon's Dead

[toc] | [prev] | [next] | [standalone]


#7584

FromANTant@zimage.com (Ant)
Date2015-12-29 13:46 -0600
Message-ID<44mdnZ9vGbJmfx_LnZ2dnUU7-budnZ2d@earthlink.com>
In reply to#7572
> Have you checked that the diskette is not physically write-protected?

Yep, and multiple 3.5" disks in case I had bad disks since they are 
decades old.
-- 
Quote of the Week: "Yeah, what's left of it. I was in the militia -- 
national guard... That's good! Wasn't any war any more than there's war 
between men and ants." --stranger; "And we're eat-able ants. I found 
that out... What will they do with us?" --Pierson from H.G. Wells' The 
War of the Worlds
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#7581

FromAlastair Black <abqab.nemo@example.net>
Date2015-12-29 09:38 -0700
Message-ID<n5ucu2$9g1$1@n102.xanadu-bbs.net>
In reply to#7567
On 12/29/2015 12:54 AM, Ant wrote:
> Hello!
>
> In my very old upgraded Debian Wheezy/stable box, I can read my old
> school 3.5" floppy disk(ette)s but it can't write. From what I searched
> online, I need to do some hacking with my configurations files like
> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
> but doesn't let me delete, format, and other write activities. With
> sudo, I can erase files but not write like:
> $ sudo echo > test
> -bash: test: Permission denied
>
> $ df
> Filesystem     1K-blocks      Used Available Use% Mounted on
> /dev/sda1         944120    572036    306908  66% /
> udev               10240         0     10240   0% /dev
> tmpfs             411592      9544    402048   3% /run
> /dev/sda8       49851100   7003492  40292216  15% /usr
> tmpfs            1028976        80   1028896   1% /dev/shm
> tmpfs               5120        12      5108   1% /run/lock
> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> /dev/sda5         944120      1292    877652   1% /tmp
> /dev/sda6        4673664   1882708   2530504  43% /var
> /dev/sda9       49882844   3207188  44118680   7% /home
> tmpfs             205796         8    205788   1% /run/user/1000
> /dev/fd0            1424         0      1424   0% /media/floppy0
>
> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
>
> Mount shows: /dev/fd0 on /media/floppy0 type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro,user)
>
> I don't know if those are correct or not. What am I missing? Thank you
> in advance. :)
>

<xposts stripped>

Does it work with the mtools package? Also using VFAT with
diskettes formatted as FAT-16 may fail. Try the MSDOS file
system instead of VFAT, as MSDOS will not attempt to create
long filename entries in the directory.

Alastair

[toc] | [prev] | [next] | [standalone]


#7589

FromANTant@zimage.com (Ant)
Date2015-12-29 14:44 -0600
Message-ID<mMOdnWtRNsQlbR_LnZ2dnUU7-UOdnZ2d@earthlink.com>
In reply to#7581
> Does it work with the mtools package? Also using VFAT with
> diskettes formatted as FAT-16 may fail. Try the MSDOS file
> system instead of VFAT, as MSDOS will not attempt to create
> long filename entries in the directory.

$ sudo apt-get install mtools
[sudo] password for ant:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mtools is already the newest version.
mtools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

:(
-- 
Quote of the Week: "Yeah, what's left of it. I was in the militia -- 
national guard... That's good! Wasn't any war any more than there's war 
between men and ants." --stranger; "And we're eat-able ants. I found 
that out... What will they do with us?" --Pierson from H.G. Wells' The 
War of the Worlds
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#7592

FromWildman <best_lay@yahoo.com>
Date2015-12-29 15:28 -0600
Message-ID<KoidnQ3DI_tqZx_LnZ2dnUU7-a2dnZ2d@giganews.com>
In reply to#7567
On Tue, 29 Dec 2015 01:54:07 -0600, Ant wrote:

> Hello!
> 
> In my very old upgraded Debian Wheezy/stable box, I can read my old 
> school 3.5" floppy disk(ette)s but it can't write. From what I searched 
> online, I need to do some hacking with my configurations files like 
> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it 
> but doesn't let me delete, format, and other write activities. With 
> sudo, I can erase files but not write like:
> $ sudo echo > test
> -bash: test: Permission denied
> 
> $ df
> Filesystem     1K-blocks      Used Available Use% Mounted on
> /dev/sda1         944120    572036    306908  66% /
> udev               10240         0     10240   0% /dev
> tmpfs             411592      9544    402048   3% /run
> /dev/sda8       49851100   7003492  40292216  15% /usr
> tmpfs            1028976        80   1028896   1% /dev/shm
> tmpfs               5120        12      5108   1% /run/lock
> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> /dev/sda5         944120      1292    877652   1% /tmp
> /dev/sda6        4673664   1882708   2530504  43% /var
> /dev/sda9       49882844   3207188  44118680   7% /home
> tmpfs             205796         8    205788   1% /run/user/1000
> /dev/fd0            1424         0      1424   0% /media/floppy0
> 
> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> 
> Mount shows: /dev/fd0 on /media/floppy0 type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro,user)
> 
> I don't know if those are correct or not. What am I missing? Thank you 
> in advance. :)

I am thinking this might be an ownership problem.  However, I am
not sure if the same ownership rules apply to floppies like they
do with hard drives.  I would assume they do but I could be wrong.
Anyway, I would suggest to try this with a floppy you don't mind
ruining.

To take ownership of the floppy, enter these commands in this
order into a terminal window.  Change 'yourname' to your user
name in the chown command...

sudo umount /media/floppy0
sudo mount -a
sudo chown user:yourname /media/floppy0
sudo chmod -R 755 /media/floppy0

-- 
<Wildman> GNU/Linux user #557453
"It is a dangerous notion that we need a
government to protect us from ourselves."
  -Ron Paul

[toc] | [prev] | [next] | [standalone]


#7609

FromANTant@zimage.com (Ant)
Date2015-12-30 05:05 -0600
Message-ID<Q7Kdneew09rmJx7LnZ2dnUU7-fudnZ2d@earthlink.com>
In reply to#7592
> > In my very old upgraded Debian Wheezy/stable box, I can read my old 
> > school 3.5" floppy disk(ette)s but it can't write. From what I searched 
> > online, I need to do some hacking with my configurations files like 
> > /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it 
> > but doesn't let me delete, format, and other write activities. With 
> > sudo, I can erase files but not write like:
> > $ sudo echo > test
> > -bash: test: Permission denied
> > 
> > $ df
> > Filesystem     1K-blocks      Used Available Use% Mounted on
> > /dev/sda1         944120    572036    306908  66% /
> > udev               10240         0     10240   0% /dev
> > tmpfs             411592      9544    402048   3% /run
> > /dev/sda8       49851100   7003492  40292216  15% /usr
> > tmpfs            1028976        80   1028896   1% /dev/shm
> > tmpfs               5120        12      5108   1% /run/lock
> > tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> > /dev/sda5         944120      1292    877652   1% /tmp
> > /dev/sda6        4673664   1882708   2530504  43% /var
> > /dev/sda9       49882844   3207188  44118680   7% /home
> > tmpfs             205796         8    205788   1% /run/user/1000
> > /dev/fd0            1424         0      1424   0% /media/floppy0
> > 
> > /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> > 
> > Mount shows: /dev/fd0 on /media/floppy0 type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro,user)
> > 
> > I don't know if those are correct or not. What am I missing? Thank you 
> > in advance. :)

> I am thinking this might be an ownership problem.  However, I am
> not sure if the same ownership rules apply to floppies like they
> do with hard drives.  I would assume they do but I could be wrong.
> Anyway, I would suggest to try this with a floppy you don't mind
> ruining.

> To take ownership of the floppy, enter these commands in this
> order into a terminal window.  Change 'yourname' to your user
> name in the chown command...

> sudo umount /media/floppy0
> sudo mount -a
> sudo chown user:yourname /media/floppy0
> sudo chmod -R 755 /media/floppy0

How about making it for everyone?
-- 
Quote of the Week: "Yeah, what's left of it. I was in the militia -- 
national guard... That's good! Wasn't any war any more than there's war 
between men and ants." --stranger; "And we're eat-able ants. I found 
that out... What will they do with us?" --Pierson from H.G. Wells' The 
War of the Worlds
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#7642

FromRobert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid>
Date2015-12-31 08:57 -0600
Message-ID<n63for$ibh$1@omega-3g.local>
In reply to#7609
On 12/30/2015 05:05 AM, Ant wrote:
>> To take ownership of the floppy, enter these commands in this
>> order into a terminal window.  Change 'yourname' to your user
>> name in the chown command...
>
>> sudo umount /media/floppy0
>> sudo mount -a
>> sudo chown user:yourname /media/floppy0
>> sudo chmod -R 755 /media/floppy0
>
> How about making it for everyone?

The ownership and permissions of the mount point directory are, and
always have been, totally irrelevant to the ownership and
permissions of the mounted filesystem.  For filesystems, like the
FAT variants, that do not support Unix permissions and ownership,
those parameters are set up at mount time for the entire filesystem.
The relevant mount options are "uid", "gid", "umask", "dmask", and
"fmask".  See the manpage for the /mount/ command for details.  You
can put a line in /etc/fstab to specify the mount point and options
for the floppy device (be sure to include the "noauto" option), and
most automounters will see and respect that.

Yes, there can be SELinux context issues about whether a confined
process is allowed to use a particular directory as a mount point,
but once the mount has succeeded you are past that point, and
_nothing_ about the permissions of that mount point directory
apply any more.

-- 
Bob Nichols         AT comcast.net I am "RNichols42"

[toc] | [prev] | [next] | [standalone]


#7645

FromANTant@zimage.com (Ant)
Date2015-12-31 16:32 -0600
Message-ID<ROCdnQRBI46dMBjLnZ2dnUU7-VmdnZ2d@earthlink.com>
In reply to#7642
In alt.os.linux.debian Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> wrote:
> On 12/30/2015 05:05 AM, Ant wrote:
> >> To take ownership of the floppy, enter these commands in this
> >> order into a terminal window.  Change 'yourname' to your user
> >> name in the chown command...
> >
> >> sudo umount /media/floppy0
> >> sudo mount -a
> >> sudo chown user:yourname /media/floppy0
> >> sudo chmod -R 755 /media/floppy0
> >
> > How about making it for everyone?

> The ownership and permissions of the mount point directory are, and
> always have been, totally irrelevant to the ownership and
> permissions of the mounted filesystem.  For filesystems, like the
> FAT variants, that do not support Unix permissions and ownership,
> those parameters are set up at mount time for the entire filesystem.
> The relevant mount options are "uid", "gid", "umask", "dmask", and
> "fmask".  See the manpage for the /mount/ command for details.  You
> can put a line in /etc/fstab to specify the mount point and options
> for the floppy device (be sure to include the "noauto" option), and
> most automounters will see and respect that.

> Yes, there can be SELinux context issues about whether a confined
> process is allowed to use a particular directory as a mount point,
> but once the mount has succeeded you are past that point, and
> _nothing_ about the permissions of that mount point directory
> apply any more.

Hmm, so my /etc/fstab's floppy0 line correct and should let me write to 
the 3.5" floppy disks?
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
-- 
Quote of the Week: "Yeah, what's left of it. I was in the militia -- 
national guard... That's good! Wasn't any war any more than there's war 
between men and ants." --stranger; "And we're eat-able ants. I found 
that out... What will they do with us?" --Pierson from H.G. Wells' The 
War of the Worlds
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#7647

FromRobert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid>
Date2015-12-31 20:01 -0600
Message-ID<n64ml4$7h2$1@omega-3g.local>
In reply to#7645
On 12/31/2015 04:32 PM, Ant wrote:
> Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
> the 3.5" floppy disks?
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

The files and directories will show up as owned by the user that did
the mounting.  If you do the mount manually in a shell session, that
should be your UID.  If you want to be sure it's opened up for
everybody, you can add "umask=0" to those options, or you can add
"uid={your_numeric_UID}" to be sure everything is owned by you
regardless of how the mount gets done.

-- 
Bob Nichols         AT comcast.net I am "RNichols42"

[toc] | [prev] | [next] | [standalone]


#7648

FromRobert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid>
Date2015-12-31 20:13 -0600
Message-ID<n64nc3$8g1$1@omega-3g.local>
In reply to#7647
On 12/31/2015 08:01 PM, Robert Nichols wrote:
> On 12/31/2015 04:32 PM, Ant wrote:
>> Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
>> the 3.5" floppy disks?
>> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
>
> The files and directories will show up as owned by the user that did
> the mounting.  If you do the mount manually in a shell session, that
> should be your UID.  If you want to be sure it's opened up for
> everybody, you can add "umask=0" to those options, or you can add
> "uid={your_numeric_UID}" to be sure everything is owned by you
> regardless of how the mount gets done.

I just realized, if you use "sudo" or "su" to do the mount as root,
then with the fstab line you have everything will be owned by root.
But, with that "user" option in there, you should be able to run
"mount /dev/fd0" or "mount /media/floppy0" in your own ID and see
everything as owned by you. You have to give just _one_ argument to
the mount command (a possible "-r" for read-only is also allowable)
so that it will consult /etc/fstab for the rest. If you try to give
both the device and the mount point, then fstab is not used at all
and you'll see "Only root can do that."

-- 
Bob Nichols         AT comcast.net I am "RNichols42"

[toc] | [prev] | [next] | [standalone]


#7649

FromANTant@zimage.com (Ant)
Date2015-12-31 23:08 -0600
Message-ID<0_idnYAMA61_lBvLnZ2dnUU7-LednZ2d@earthlink.com>
In reply to#7647
In comp.os.linux.hardware Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> wrote:
> On 12/31/2015 04:32 PM, Ant wrote:
> > Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
> > the 3.5" floppy disks?
> > /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

> The files and directories will show up as owned by the user that did
> the mounting.  If you do the mount manually in a shell session, that
> should be your UID.  If you want to be sure it's opened up for
> everybody, you can add "umask=0" to those options, or you can add
> "uid={your_numeric_UID}" to be sure everything is owned by you
> regardless of how the mount gets done.

I use KDE (Dolphin) to mount drives. I am trying to avoid using the 
command line.
-- 
Quote of the Week: "Yeah, what's left of it. I was in the militia -- 
national guard... That's good! Wasn't any war any more than there's war 
between men and ants." --stranger; "And we're eat-able ants. I found 
that out... What will they do with us?" --Pierson from H.G. Wells' The 
War of the Worlds
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#7651

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2016-01-01 09:26 +0000
Message-ID<n65gnu$4fe$2@news.albasani.net>
In reply to#7647
On 01/01/16 02:01, Robert Nichols wrote:
> On 12/31/2015 04:32 PM, Ant wrote:
>> Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
>> the 3.5" floppy disks?
>> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
>
> The files and directories will show up as owned by the user that did
> the mounting.  If you do the mount manually in a shell session, that
> should be your UID.  If you want to be sure it's opened up for
> everybody, you can add "umask=0" to those options, or you can add
> "uid={your_numeric_UID}" to be sure everything is owned by you
> regardless of how the mount gets done.
>
Everybody is missing the point. The user says he can delete files, but 
not create them.

To delete implies full permissions. Therefore its not a permissions issue

I am wondering if in fact the diskette is knackered and its only the 
directory track that can be accessed.

-- 
You can get much farther with a kind word and a gun than you can with a 
kind word alone.
Al Capone

[toc] | [prev] | [next] | [standalone]


#7652

FromPascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Date2016-01-01 11:29 +0100
Message-ID<n65kdl$rhl$1@saria.nerim.net>
In reply to#7651
The Natural Philosopher a écrit :
>>
> Everybody is missing the point. The user says he can delete files, but 
> not create them.

The user's statement was wrong, due to a misuse of sudo.

[toc] | [prev] | [next] | [standalone]


#7598

FromMichael Black <et472@ncf.ca>
Date2015-12-29 19:29 -0500
Message-ID<alpine.LNX.2.02.1512291927310.32045@darkstar.example.org>
In reply to#7567
On Tue, 29 Dec 2015, Ant wrote:

> Hello!
>
> In my very old upgraded Debian Wheezy/stable box, I can read my old
> school 3.5" floppy disk(ette)s but it can't write. From what I searched
> online, I need to do some hacking with my configurations files like
> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
> but doesn't let me delete, format, and other write activities. With
> sudo, I can erase files but not write like:
> $ sudo echo > test
> -bash: test: Permission denied
>
If you can delete, it sounds like permissions is set properly.

What kind of drive is it?

I vaguely remember some comments about USB floppy drives in the past, but 
I can't remember the context. If it's a USB floppy drive, there may be 
limitations because of that.

As someone said, being able to read a floppy disk at this time is way more 
important than being able to write to it.  I know I have a couple of USB 
floppy drives, just in case, but I've never tried them.  This computer 
still has a floppy drive.

   Michael



  > $ df
> Filesystem     1K-blocks      Used Available Use% Mounted on
> /dev/sda1         944120    572036    306908  66% /
> udev               10240         0     10240   0% /dev
> tmpfs             411592      9544    402048   3% /run
> /dev/sda8       49851100   7003492  40292216  15% /usr
> tmpfs            1028976        80   1028896   1% /dev/shm
> tmpfs               5120        12      5108   1% /run/lock
> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> /dev/sda5         944120      1292    877652   1% /tmp
> /dev/sda6        4673664   1882708   2530504  43% /var
> /dev/sda9       49882844   3207188  44118680   7% /home
> tmpfs             205796         8    205788   1% /run/user/1000
> /dev/fd0            1424         0      1424   0% /media/floppy0
>
> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
>
> Mount shows: /dev/fd0 on /media/floppy0 type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro,user)
>
> I don't know if those are correct or not. What am I missing? Thank you
> in advance. :)
> -- 
> Quote of the Week: "Yeah, what's left of it. I was in the militia --
> national guard... That's good! Wasn't any war any more than there's war
> between men and ants." --stranger; "And we're eat-able ants. I found
> that out... What will they do with us?" --Pierson from H.G. Wells' The
> War of the Worlds
> Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
>  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
> / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
> | |o   o| |
>   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
>    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.
>

[toc] | [prev] | [next] | [standalone]


#7602

FromPascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Date2015-12-30 10:03 +0100
Message-ID<n606lm$28j4$1@saria.nerim.net>
In reply to#7598
Michael Black a écrit :
> On Tue, 29 Dec 2015, Ant wrote:
>> With sudo, I can erase files but not write like:
   ^^^^^^^^^
> If you can delete, it sounds like permissions is set properly.

No. sudo/root does not need permissions.

[toc] | [prev] | [next] | [standalone]


#7656

From"Ralf S. Hellersen" <schneiderxr@arcor.de>
Date2016-01-01 17:31 +0000
Message-ID<n66d5r$lkk$1@news.albasani.net>
In reply to#7567
Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:

> Hello!
> 
> In my very old upgraded Debian Wheezy/stable box, I can read my old
> school 3.5" floppy disk(ette)s but it can't write. From what I searched
> online, I need to do some hacking with my configurations files like
> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
> but doesn't let me delete, format, and other write activities. With
> sudo, I can erase files but not write like:
> $ sudo echo > test -bash: test: Permission denied
> 
> $ df Filesystem     1K-blocks      Used Available Use% Mounted on
> /dev/sda1         944120    572036    306908  66% /
> udev               10240         0     10240   0% /dev tmpfs            
> 411592      9544    402048   3% /run /dev/sda8       49851100   7003492 
> 40292216  15% /usr tmpfs            1028976        80   1028896   1%
> /dev/shm tmpfs               5120        12      5108   1% /run/lock
> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6       
> 4673664   1882708   2530504  43% /var /dev/sda9       49882844   3207188
>  44118680   7% /home tmpfs             205796         8    205788   1%
> /run/user/1000 /dev/fd0            1424         0      1424   0%
> /media/floppy0
> 
> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto
>  0       0
> 
> Mount shows: /dev/fd0 on /media/floppy0 type vfat
> 
(rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
ro,user)
> 
> I don't know if those are correct or not. What am I missing? Thank you
> in advance. :)
Which file system is written on this disk ?

If there occure problems after mounting isn't it an option to use
the mtools instead ?

Regards
Ralf
 

[toc] | [prev] | [next] | [standalone]


#7658

FromANTant@zimage.com (Ant)
Date2016-01-01 12:58 -0600
Message-ID<Rsmdndtgp5_9URvLnZ2dnUU7-budnZ2d@earthlink.com>
In reply to#7656
In comp.os.linux.hardware Ralf S. Hellersen <schneiderxr@arcor.de> wrote:
> Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:

> > Hello!
> > 
> > In my very old upgraded Debian Wheezy/stable box, I can read my old
> > school 3.5" floppy disk(ette)s but it can't write. From what I searched
> > online, I need to do some hacking with my configurations files like
> > /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
> > but doesn't let me delete, format, and other write activities. With
> > sudo, I can erase files but not write like:
> > $ sudo echo > test -bash: test: Permission denied
> > 
> > $ df Filesystem     1K-blocks      Used Available Use% Mounted on
> > /dev/sda1         944120    572036    306908  66% /
> > udev               10240         0     10240   0% /dev tmpfs            
> > 411592      9544    402048   3% /run /dev/sda8       49851100   7003492 
> > 40292216  15% /usr tmpfs            1028976        80   1028896   1%
> > /dev/shm tmpfs               5120        12      5108   1% /run/lock
> > tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> > /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6       
> > 4673664   1882708   2530504  43% /var /dev/sda9       49882844   3207188
> >  44118680   7% /home tmpfs             205796         8    205788   1%
> > /run/user/1000 /dev/fd0            1424         0      1424   0%
> > /media/floppy0
> > 
> > /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto
> >  0       0
> > 
> > Mount shows: /dev/fd0 on /media/floppy0 type vfat
> > 
> (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
> ro,user)
> > 
> > I don't know if those are correct or not. What am I missing? Thank you
> > in advance. :)
> Which file system is written on this disk ?

FAT since these floppy disks were from the (19)90s.


> If there occure problems after mounting isn't it an option to use
> the mtools instead ?

Does KDE use that? I was using KDE to access the disks. I don't use 
command lines for disk stuff.
-- 
:) New Yr.
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#7659

FromBobbie Sellers <bliss-sf4ever@dslextreme.com>
Date2016-01-01 11:37 -0800
Message-ID<n66kdi$4pl$1@dont-email.me>
In reply to#7658
On 01/01/2016 10:58 AM, Ant wrote:
> In comp.os.linux.hardware Ralf S. Hellersen <schneiderxr@arcor.de> wrote:
>> Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:
>
>>> Hello!
>>>
>>> In my very old upgraded Debian Wheezy/stable box, I can read my old
>>> school 3.5" floppy disk(ette)s but it can't write. From what I searched
>>> online, I need to do some hacking with my configurations files like
>>> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
>>> but doesn't let me delete, format, and other write activities. With
>>> sudo, I can erase files but not write like:
>>> $ sudo echo > test -bash: test: Permission denied
>>>
>>> $ df Filesystem     1K-blocks      Used Available Use% Mounted on
>>> /dev/sda1         944120    572036    306908  66% /
>>> udev               10240         0     10240   0% /dev tmpfs
>>> 411592      9544    402048   3% /run /dev/sda8       49851100   7003492
>>> 40292216  15% /usr tmpfs            1028976        80   1028896   1%
>>> /dev/shm tmpfs               5120        12      5108   1% /run/lock
>>> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
>>> /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6
>>> 4673664   1882708   2530504  43% /var /dev/sda9       49882844   3207188
>>>   44118680   7% /home tmpfs             205796         8    205788   1%
>>> /run/user/1000 /dev/fd0            1424         0      1424   0%
>>> /media/floppy0
>>>
>>> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto
>>>   0       0
>>>
>>> Mount shows: /dev/fd0 on /media/floppy0 type vfat
>>>
>> (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
>> ro,user)
>>>
>>> I don't know if those are correct or not. What am I missing? Thank you
>>> in advance. :)
>> Which file system is written on this disk ?
>
> FAT since these floppy disks were from the (19)90s.
>
>
>> If there occure problems after mounting isn't it an option to use
>> the mtools instead ?
>
> Does KDE use that? I was using KDE to access the disks. I don't use
> command lines for disk stuff.
>

	Well maybe it is time to learn.
	mtools is on my Mageia 5 KDE and the way to start is "man mtools" at 
the command line.	

	Oh and be glad your disks from the 1990s are not AmigaDOS
disks.  That is a very difficult problem.  And there is no CLI
suite of tools to deal with them.  All my archives from that
period as well were made on ZIP disks and I would have to
figure out how to deal with that.  Maybe I can get the
Amiga 2000b/68060/64 Megabytes of ram, running again and switch them 
back to a more readable format. Maybe not...

	bliss

[toc] | [prev] | [next] | [standalone]


#7666

From"Ralf S. Hellersen" <schneiderxr@arcor.de>
Date2016-01-02 18:51 +0000
Message-ID<n6967n$801$1@news.albasani.net>
In reply to#7658
Am Fri, 01 Jan 2016 12:58:40 -0600 schrieb Ant:

> In comp.os.linux.hardware Ralf S. Hellersen <schneiderxr@arcor.de>
> wrote:
>> Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:
> 
>> > Hello!
>> > 
>> > In my very old upgraded Debian Wheezy/stable box, I can read my old
>> > school 3.5" floppy disk(ette)s but it can't write. From what I
>> > searched online, I need to do some hacking with my configurations
>> > files like /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me
>> > the data in it but doesn't let me delete, format, and other write
>> > activities. With sudo, I can erase files but not write like:
>> > $ sudo echo > test -bash: test: Permission denied
>> > 
>> > $ df Filesystem     1K-blocks      Used Available Use% Mounted on
>> > /dev/sda1         944120    572036    306908  66% /
>> > udev               10240         0     10240   0% /dev tmpfs 411592  
>> >    9544    402048   3% /run /dev/sda8       49851100   7003492
>> > 40292216  15% /usr tmpfs            1028976        80   1028896   1%
>> > /dev/shm tmpfs               5120        12      5108   1% /run/lock
>> > tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
>> > /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6
>> > 4673664   1882708   2530504  43% /var /dev/sda9       49882844  
>> > 3207188
>> >  44118680   7% /home tmpfs             205796         8    205788  
>> >  1%
>> > /run/user/1000 /dev/fd0            1424         0      1424   0%
>> > /media/floppy0
>> > 
>> > /etc/fstab shows: /dev/fd0        /media/floppy0  auto   
>> > rw,user,noauto
>> >  0       0
>> > 
>> > Mount shows: /dev/fd0 on /media/floppy0 type vfat
>> > 
>> 
(rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
>> ro,user)
>> > 
>> > I don't know if those are correct or not. What am I missing? Thank
>> > you in advance. :)
>> Which file system is written on this disk ?
> 
> FAT since these floppy disks were from the (19)90s.
> 
> 
>> If there occure problems after mounting isn't it an option to use the
>> mtools instead ?
> 
> I don't use command lines for disk stuff.
It's up to you to solve this problem. The mtools are used at the command 
line and worked fine for me for all purposes.

[toc] | [prev] | [next] | [standalone]


Page 2 of 3 — ← Prev page 1 [2] 3  Next page →

Back to top | Article view | alt.os.linux.debian


csiph-web