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


Groups > linux.debian.user > #167609

Re: ghost partition

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: ghost partition
Date 2016-05-09 13:10 +0200
Message-ID <rwRex-4k2-3@gated-at.bofh.it> (permalink)
References <rwGCt-9G-1@gated-at.bofh.it> <rwHIf-189-7@gated-at.bofh.it> <rwQVc-3Ly-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Haines,

On Mon, May 09, 2016 at 06:43:59AM -0400, Haines Brown wrote:
> I had been inserting a sequence of USB keys to see what was on them, and
> pretty sure the sde1 interface was used at some point. But no keys are
> inserted at present. I also just did a cross installation onto an

[…]

>   $ ls -la /sys/block/sde
>   lrwxrwxrwx 1 root root 0 May  9 05:30 /sys/block/sde ->
>   ../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.0/host7/target7:0:0/ \
>         7:0:0:1/block/sde

So it seems like sde is/was a USB block device.

I had thought that the "sde1" in your ncdu output was some sort of
header representing the / device, but having installed ncdu and run
it myself I am inclined to agree with Juergen that it is actually a
file.

> Juergen suggested deleting /dev/sde1 it after backing it up. That was my
> first inclination, but kinda hard to do if /dev/sde1 is not visible.

In your ncdu output it looked like you ran it while / was your
current directory, and the output it gave was just "sde1", not
"/dev/sde1". So have a look for the file /sde1.

Perhaps you have tried to write an image to a USB key at /dev/sde1
but done a typo and actually written to /sde1, thus creating that
file?

Certainly if I do this:

$ sudo du if=/dev/zero of=/sde1 bs=1M count=100
$ sudo ncdu -rx /

then I end up with a line of output that looks like what you
provided.

So, are you sure there is not just a regular file at /sde1 (not in
/dev)?

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ghost partition Haines Brown <haines@histomat.net> - 2016-05-09 01:50 +0200
  Re: ghost partition Andy Smith <andy@strugglers.net> - 2016-05-09 03:00 +0200
    Re: ghost partition Haines Brown <haines@histomat.net> - 2016-05-09 12:50 +0200
      Re: ghost partition Andy Smith <andy@strugglers.net> - 2016-05-09 13:10 +0200
        Re: ghost partition Haines Brown <haines@histomat.net> - 2016-05-09 14:50 +0200
          Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 15:00 +0200
            Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 15:20 +0200
              Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 15:40 +0200
                Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 16:00 +0200
                Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 16:20 +0200
                Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 17:00 +0200
                Re: ghost partition <tomas@tuxteam.de> - 2016-05-09 17:20 +0200
                Re: ghost partition Brian <ad44@cityscape.co.uk> - 2016-05-09 21:00 +0200
  Re: ghost partition Juergen Bausa <Juergen.Bausa@online.de> - 2016-05-09 09:40 +0200

csiph-web