All of lore.kernel.org
 help / color / mirror / Atom feed
From: Goffredo Baroncelli <kreijack@gmail.com>
To: Yangtse Su <yangtsesu@gmail.com>
Cc: linux-btrfs@vger.kernel.org, Hubert Kario <kario@wit.edu.pl>,
	David Sterba <dave@jikos.cz>
Subject: Re: How to remove btrfs information
Date: Sat, 17 Nov 2012 17:04:19 +0100	[thread overview]
Message-ID: <50A7B583.90105@gmail.com> (raw)
In-Reply-To: <CAA+Oeuv=VthbT9HkEJm5REiNmOPSL0pPtV=gu4PXP1w1tM284A@mail.gmail.com>

On 11/17/2012 03:52 AM, Yangtse Su wrote:
> I have an btrfs part on /dev/sda5,Then I install windows8 with the
> windows8 installer.I remove this btrfs part and install windows8 on
> it.Now in my Linux,'btfrs filesystem show' still show /dev/sda5 as a
> btrfs part. but now it is Microsoft Reserved part,only 128MB.
> 

There was a patch about that [1] and David posted a script perl that
does the same [2]. Moreover it seems that "wipefs" is also able to wipe
out a btrfs super-block. I never tried it.


> Here is some information:
> http://paste.ubuntu.org.cn/155508

Please the next time put all these info in the email

> # blkid
> ...
> /dev/sda5: UUID="9c3e097a-bab0-4f18-b074-5cd2f081c8c7"
UUID_SUB="ef0e296c-f554-415e-9aa9-31b1cb9aef31" TYPE="btrfs"
/dev/sda6: UUID="3AFE3D50FE3D0623" TYPE="ntfs"
> # btrfs filesystem show
> Label: none  uuid: 9c3e097a-bab0-4f18-b074-5cd2f081c8c7
> 	Total devices 1 FS bytes used 284.00KB
>	devid    1 size 33.48GB used 2.04GB path /dev/sda5
> ...
> Btrfs Btrfs v0.19
> #gdisk /dev/sda
> >p
> Number  Start (sector)    End (sector)  Size       Code  Name
> ......
>    5       493025280       493287423   128.0 MiB   0C01  Microsoft
reserved part
>   6       493287424       625141759   62.9 GiB    0700  Basic data
partition


[1]http://comments.gmane.org/gmane.comp.file-systems.btrfs/17065
[2]http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg16197.html



> 
> 
> --
> God Is Not A Girl!!!
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5

  reply	other threads:[~2012-11-17 16:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-17  2:52 How to remove btrfs information Yangtse Su
2012-11-17 16:04 ` Goffredo Baroncelli [this message]
2012-11-17 16:50   ` Mike Fleetwood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50A7B583.90105@gmail.com \
    --to=kreijack@gmail.com \
    --cc=dave@jikos.cz \
    --cc=kario@wit.edu.pl \
    --cc=kreijack@inwind.it \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=yangtsesu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.