Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filtering already mounted partitions has stopped working #107

Closed
oberon-manjaro opened this issue Mar 13, 2017 · 3 comments
Closed

filtering already mounted partitions has stopped working #107

oberon-manjaro opened this issue Mar 13, 2017 · 3 comments
Assignees

Comments

@oberon-manjaro
Copy link
Collaborator

When I look at the commits, util-disk has not been touched for a week, yet for some reason already mounted partitions are no longer filtered out.
After mounting the /root partition I am still offered the same partition again for swap and boot ...
What can be wrong?

@Chrysostomus
Copy link
Owner

I haven't noticed the issue. I'll look into it

@oberon-manjaro
Copy link
Collaborator Author

I could swear that just recently it was still working - which I know doesn't seem to make sense ;)

@papajoker papajoker self-assigned this Mar 14, 2017
@papajoker
Copy link
Collaborator

papajoker commented Mar 14, 2017

  • only one filter before show partitions but not after mount root, not after mount swap, not after efi
    exist a code, but run nothing ? :

     PARTITIONS=$(echo $PARTITIONS | sed "s~${PARTITION} [0-9]*[G-M]~~" | sed "s~${PARTITION} [0-9]*\.[0-9]*[G-M]~~" | sed s~${PARTITION}$' -'~~)
     NUMBER_PARTITIONS=$(( NUMBER_PARTITIONS - 1 ))
    

    I use function delete_partition_in_list() and its ok

  • one problem, many return 0 with efi partitions -> can never select others partitions if user dont format efi
    remove returns and restructure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants